100% found this document useful (1 vote)
4K views6 pages

Huawei Router Basic Configuration Guide

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)
4K views6 pages

Huawei Router Basic Configuration Guide

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
  • Basic Configuration Command
  • Static and Dynamic Routing
  • Access List Configuration
  • Extended Access Control Example
  • Firewall Configuration
  • Additional Resources

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][Link] H-LC all serial'; to display all of t e information; [Liufei][Link] H-LC event serial'; [Link] event information [Liufei][Link] H-LC pac*et serial'; s ow t e pac*age information

Static routing: [Liufei]ip route-static (ip)(mas*)0interface [Link]+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 [Link] start =8P4 protocol;
2

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

Standard access list command format is as follows: <CL ([Link]) [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 [Link]; e/ual
3

Creater-t an [Link]; greater t an Less-t an is [Link]; less t an Bot-e/ual [Link]; une/ual Range [Link]! [Link]"; 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 [Link] [Liufei]firewall default permit+deny [Liufei]int :' [Liufei-:t ernet']firewall pac*et-filter !'! [Link]+[Link] <ddress conversion configuration e1ample [Liufei]firewall [Link]
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 !'! [Link] [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 !'" [Link]; "'"7#D7!&'7! is t e egress router IP7 [Liufei-8erial']nat [Link] !'! 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 [Link] .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

Huawei Router  (http://www.huanetwork.com/huawei-routers-price_c1)Basic Configuration Command
Huawei Router Basic Configurati
Static routing:
[Liufei]ip route-static <ip><mask>{interface number|nexthop}[value][reject|blackhole]
For example:
[Liufei]ip
[Liufei-ospf]import-route direct; introducing the direct route
[Liufei-Serial0]ospf enable area <area_id> OSPF region;
 
Stan
Greater-than PortNumber;  greater than
Less-than is PortNumber;  less than
Not-equal PortNumber; unequal
Range portnumber1 po
[Liufei]firewall default permit
[Liufei]acl 101; the internal host can enter the E0
[Liufei-acl-101]rule deny IP source any d
More related:
HOW TO CONNECT HUAWEI ROUTER USE VPN (http://www.huanetwork.com/blog/how-to-connect-huawei-router-use-vpn/)
HOW

You might also like