100% found this document useful (1 vote)
9K views

Huawei Router Basic Configuration Command

Leading Huawei networking products distributor-huanetwork.com Huawei Router Basic Configuration Command

Uploaded by

Elizabeth Rich
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
100% found this document useful (1 vote)
9K views

Huawei Router Basic Configuration Command

Leading Huawei networking products distributor-huanetwork.com Huawei Router Basic Configuration Command

Uploaded by

Elizabeth Rich
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 6

Huawei Router Basic Configuration Command

Huawei Router Basic Configuration Command [Liufei]display version; display version information [Liufei]display current-configuration; display current configuration [Liufei]display interfaces; display interface information; [Liufei]display IP route; s ow t at t e routing information; [Liufei]sysname lf!"#; c ange t e ost name [Liufei]super passwrod !"#$%&; setup password; [Liufei]interface serial'; into t e interface; [Liufei-serial']ip address (ip) (mas*+mas*,len) IP address configured ports; [Liufei-serial']undo s utdown; activation port; [Liufei]lin*-protocol H-LC; .inds H-LC protocol; [Liufei]user-interface vty '$ [Liufei-ui-vty'-$]aut entication-mode password [Liufei-ui-vty'-$]set aut entication-mode password simple """ [Liufei-ui-vty'-$]user privilege level # [Liufei-ui-vty'-$]/uit [Liufei]de.ugging H-LC all serial'; to display all of t e information; [Liufei]de.ugging H-LC event serial'; de.ug event information [Liufei]de.ugging H-LC pac*et serial'; s ow t e pac*age information

Static routing: [Liufei]ip route-static (ip)(mas*)0interface num.er+ne1t op2[value][re3ect+.lac* ole] 4or e1ample5 [Liufei]ip route-static !"67!7'7' !& !'7'7'7" [Liufei]ip route-static !"67!7'7' "%%7"%%7'7' !'7'7'7" [Liufei]ip route-static !"67!7'7' !& 8erial " [Liufei]ip route-static '7'7'7' '7'7'7' !'7'7'7"

Dynamic routing: [Liufei]rip; set dynamic routing [Liufei]rip wor* is allowed to wor*; [Liufei]rip input set t e entrance permit; [Liufei]rip output; set t e e1port permit [Liufei-rip]networ* !7'7'7'; set t e e1c ange routing networ* [Liufei-rip]networ* all; set t e e1c ange wit all networ* [Liufei-rip]peer ip-address; [Liufei-rip]summary routing aggregation; [Liufei]rip version !; installed in version ! [Liufei]rip version " multicast; wit version "9 multicast [Liufei-:t ernet']rip split- ori;on; ori;ontal partitioning [Liufei]router I- <7B7C7-; configure router I[Liufei]ospf ena.le start =8P4 protocol;
2

[Liufei-ospf]import-route direct; introducing t e direct route [Liufei-8erial']ospf ena.le area (area,id) =8P4 region;

Standard access list command format is as follows: <CL (acl-num.er) [matc -order config+auto]; t e default of t e former se/uence matc ing7 Rule [normal+special]0permit+deny2 [source source-addr source-wildcard+any] An example: [Liufei]acl !' [Liufei-acl-!']rule normal permit source !'7'7'7' '7'7'7"%% [Liufei-acl-!']rule normal deny source any :1tended access list configuration command :1tended configuration of >CP?@-P protocol access list5 Rule 0normal+special20permit+deny20tcp+udp2source 0(ip wild)+any2destination (ip wild)+ any2 [operate] :1tended configuration of ICAP protocol access list5 Rule 0normal+special20permit+deny2icmp source 0(ip wild)+any]destination 0(ip wild)+any] [icmp-code] [logging]

Extended access control list the meaning of the operators :/ual PortBum.er; e/ual
3

Creater-t an PortBum.er; greater t an Less-t an is PortBum.er; less t an Bot-e/ual PortBum.er; une/ual Range portnum.er! portnum.er"; interval :1tended access control list e1ample [Liufei]acl !'! [Liufei-acl-!'!]rule deny souce any destination any [Liufei-acl-!'!]rule permit ICAP source any destination any icmp-type ec o [Liufei-acl-!'!]rule permit ICAP source any destination any icmp-type ec o-reply [Liufei]acl !'" [Liufei-acl-!'"]rule permit IP source !'7'7'7! '7'7'7' destination "'"7'7'7! '7'7'7' [Liufei-acl-!'"]rule deny IP source any destination any [Liufei]acl !'# [Liufei-acl-!'#]rule permit >CP source any destination !'7'7'7! '7'7'7' destination-port e/ual4>P [Liufei-acl-!'#]rule permit >CP source any destination !'7'7'7" '7'7'7' destination-port e/ualwww [Liufei]firewall ena.le [Liufei]firewall default permit+deny [Liufei]int :' [Liufei-:t ernet']firewall pac*et-filter !'! in.ound+out.ound <ddress conversion configuration e1ample [Liufei]firewall ena.le
4

[Liufei]firewall default permit [Liufei]acl !'!; t e internal ost can enter t e :' [Liufei-acl-!'!]rule deny IP source any destination any [Liufei-acl-!'!]rule permit IP source !"67#D7!7! ' destination any [Liufei-acl-!'!]rule permit IP source !"67#D7!7" ' destination any [Liufei-acl-!'!]rule permit IP source !"67#D7!7# ' destination any [Liufei-acl-!'!]rule permit IP source !"67#D7!7$ ' destination any [Liufei-acl-!'!]/uit [Liufei]int :' [Liufei-:t ernet']firewall pac*et-filter !'! in.ound [Liufei]acl !'"; t e e1ternal ost specific and more t an !'"$ port pac*et is allowed to enter t e 8' [Liufei-acl-!'"]rule deny IP source any destination any [Liufei-acl-!'"]rule permit >CP source "'"7#67"7# ' destination "'"7#D7!&'7! ' [Liufei-acl-!'"]rule permit >CP source any destination "'"7#D7!&'7! ' destination-port great-t an !'"$ [Liufei-acl-!'"]/uit [Liufei]int 8' [Liufei-8erial']firewall pac*et-filter !'" in.ound; "'"7#D7!&'7! is t e egress router IP7 [Liufei-8erial']nat out.ound !'! interface; :asy IP9 <CL !'! allows IP from t is interfacetransform source address7

More related: H=E >= C=BB:C> H@<E:I R=@>:R @8: FPB H=E >= C=B4IC@R: H@<E:I <R#"'' 8:RI:8 R=@>:RG H=E >= C=B4IC@R: >H: PPP=: CLI:B> =B H@<E:I <R!"''G More Huawei products and Re iews you can isit: ttp5??www7 uanetwor*7com?.log

Huanetwor*7com is a world leading Huawei networ*ing products distri.utor9 we w olesale original new Huawei networ*ing e/uipments9 including Huawei switc es9 Huawei routers9 Huaweisymantec security products9 Huawei I<-9 Huawei 84P and ot er Huawei networ*ing products7 =ur customers include telecom operators9 Huawei resellers9 I8P and system integrators7 Rig t now most of our sales are contri.uted .y regular customers =ur we.site5 ttp5??www7 uanetwor*7com >elep one5 HD%"-#'%'!6$' :mail5 salesI uanetwor*7com <ddress5 "#?4 Luc*y Pla;a9 #!%-#"! Loc* art Road9 Eanc ai9 Hong*ong

You might also like