SlideShare a Scribd company logo
2
Most read
4
Most read
6
Most read
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; show that the routing information;
[Liufei]sysname lf123; change the host name
[Liufei]super passwrod 123456; setup password;
[Liufei]interface serial0; into the interface;
[Liufei-serial0]ip address <ip> <mask|mask_len> IP address configured ports;
[Liufei-serial0]undo shutdown; activation port;
[Liufei]link-protocol HDLC; binds HDLC protocol;
[Liufei]user-interface vty 04
[Liufei-ui-vty0-4]authentication-mode password
[Liufei-ui-vty0-4]set authentication-mode password simple 222
[Liufei-ui-vty0-4]user privilege level 3
[Liufei-ui-vty0-4]quit
[Liufei]debugging HDLC all serial0; to display all of the information;
[Liufei]debugging HDLC event serial0; debug event information
[Liufei]debugging HDLC packet serial0; show the package information
1
Static routing:
[Liufei]ip route-static <ip><mask>{interface number|nexthop}[value][reject|blackhole]
For example:
[Liufei]ip route-static 129.1.0.0 16 10.0.0.2
[Liufei]ip route-static 129.1.0.0 255.255.0.0 10.0.0.2
[Liufei]ip route-static 129.1.0.0 16 Serial 2
[Liufei]ip route-static 0.0.0.0 0.0.0.0 10.0.0.2
Dynamic routing:
[Liufei]rip; set dynamic routing
[Liufei]rip work is allowed to work;
[Liufei]rip input set the entrance permit;
[Liufei]rip output; set the export permit
[Liufei-rip]network 1.0.0.0; set the exchange routing network
[Liufei-rip]network all; set the exchange with all network
[Liufei-rip]peer ip-address;
[Liufei-rip]summary routing aggregation;
[Liufei]rip version 1; installed in version 1
[Liufei]rip version 2 multicast; with version 2, multicast
[Liufei-Ethernet0]rip split-horizon; horizontal partitioning
[Liufei]router ID A.B.C.D; configure router ID
[Liufei]ospf enable start OSPF protocol;
2
[Liufei-ospf]import-route direct; introducing the direct route
[Liufei-Serial0]ospf enable area <area_id> OSPF region;
Standard access list command format is as follows:
ACL <acl-number> [match-order config|auto]; the default of the former sequence
matching.
Rule [normal|special]{permit|deny} [source source-addr source-wildcard|any]
An example:
[Liufei]acl 10
[Liufei-acl-10]rule normal permit source 10.0.0.0 0.0.0.255
[Liufei-acl-10]rule normal deny source any
Extended access list configuration command
Extended configuration of TCP/UDP protocol access list:
Rule {normal|special}{permit|deny}{tcp|udp}source {<ip wild>|any}destination <ip wild>|
any}
[operate]
Extended configuration of ICMP protocol access list:
Rule {normal|special}{permit|deny}icmp source {<ip wild>|any]destination {<ip wild>|any]
[icmp-code] [logging]
Extended access control list the meaning of the operators
Equal PortNumber; equal
3
Greater-than PortNumber; greater than
Less-than is PortNumber; less than
Not-equal PortNumber; unequal
Range portnumber1 portnumber2; interval
Extended access control list example
[Liufei]acl 101
[Liufei-acl-101]rule deny souce any destination any
[Liufei-acl-101]rule permit ICMP source any destination any icmp-type echo
[Liufei-acl-101]rule permit ICMP source any destination any icmp-type echo-reply
[Liufei]acl 102
[Liufei-acl-102]rule permit IP source 10.0.0.1 0.0.0.0 destination 202.0.0.1 0.0.0.0
[Liufei-acl-102]rule deny IP source any destination any
[Liufei]acl 103
[Liufei-acl-103]rule permit TCP source any destination 10.0.0.1 0.0.0.0 destination-port
equalFTP
[Liufei-acl-103]rule permit TCP source any destination 10.0.0.2 0.0.0.0 destination-port
equalwww
[Liufei]firewall enable
[Liufei]firewall default permit|deny
[Liufei]int E0
[Liufei-Ethernet0]firewall packet-filter 101 inbound|outbound
Address conversion configuration example
[Liufei]firewall enable
4
[Liufei]firewall default permit
[Liufei]acl 101; the internal host can enter the E0
[Liufei-acl-101]rule deny IP source any destination any
[Liufei-acl-101]rule permit IP source 129.38.1.1 0 destination any
[Liufei-acl-101]rule permit IP source 129.38.1.2 0 destination any
[Liufei-acl-101]rule permit IP source 129.38.1.3 0 destination any
[Liufei-acl-101]rule permit IP source 129.38.1.4 0 destination any
[Liufei-acl-101]quit
[Liufei]int E0
[Liufei-Ethernet0]firewall packet-filter 101 inbound
[Liufei]acl 102; the external host specific and more than 1024 port packet is allowed to
enter the S0
[Liufei-acl-102]rule deny IP source any destination any
[Liufei-acl-102]rule permit TCP source 202.39.2.3 0 destination 202.38.160.1 0
[Liufei-acl-102]rule permit TCP source any destination 202.38.160.1 0 destination-port
great-than
1024
[Liufei-acl-102]quit
[Liufei]int S0
[Liufei-Serial0]firewall packet-filter 102 inbound; 202.38.160.1 is the egress router IP.
[Liufei-Serial0]nat outbound 101 interface; Easy IP, ACL 101 allows IP from this
interfacetransform source address.
5
More related:
HOW TO CONNECT HUAWEI ROUTER USE VPN
HOW TO CONFIGURE HUAWEI AR3200 SERIES ROUTER?
HOW TO CONFIGURE THE PPPOE CLIENT ON HUAWEI AR1200?
More Huawei products and Reviews you can visit: http://www.huanetwork.com/blog
Huanetwork.com is a world leading Huawei networking products distributor, we wholesale
original new Huawei networking equipments, including Huawei switches, Huawei routers,
Huaweisymantec security products, Huawei IAD, Huawei SFP and other Huawei
networking products. Our customers include telecom operators, Huawei resellers, ISP
and system integrators. Right now most of our sales are contributed by regular
customers
Our website: http://www.huanetwork.com
Telephone: +852-30501940
Email: sales@huanetwork.com
Address: 23/F Lucky Plaza, 315-321 Lockhart Road, Wanchai, Hongkong
6
More related:
HOW TO CONNECT HUAWEI ROUTER USE VPN
HOW TO CONFIGURE HUAWEI AR3200 SERIES ROUTER?
HOW TO CONFIGURE THE PPPOE CLIENT ON HUAWEI AR1200?
More Huawei products and Reviews you can visit: http://www.huanetwork.com/blog
Huanetwork.com is a world leading Huawei networking products distributor, we wholesale
original new Huawei networking equipments, including Huawei switches, Huawei routers,
Huaweisymantec security products, Huawei IAD, Huawei SFP and other Huawei
networking products. Our customers include telecom operators, Huawei resellers, ISP
and system integrators. Right now most of our sales are contributed by regular
customers
Our website: http://www.huanetwork.com
Telephone: +852-30501940
Email: sales@huanetwork.com
Address: 23/F Lucky Plaza, 315-321 Lockhart Road, Wanchai, Hongkong
6

More Related Content

PPT
PPT
Modes of router
PDF
Telecommunications and Network Security Presentation
PDF
Ccna new lab_manual_by_esp_team
PPTX
Access Control List (ACL)
PDF
Network commands
PDF
Common Ports .pdf
PDF
Introduction to SDN and Network Programmability - BRKRST-1014 | 2017/Las Vegas
Modes of router
Telecommunications and Network Security Presentation
Ccna new lab_manual_by_esp_team
Access Control List (ACL)
Network commands
Common Ports .pdf
Introduction to SDN and Network Programmability - BRKRST-1014 | 2017/Las Vegas

What's hot (20)

DOC
Huawei switch configuration commands
PDF
Ccna Commands In 10 Minutes
PDF
Router commands
PDF
IOS Cisco - Cheat sheets
PDF
Ncat ccna cheat sheet
DOCX
Ccna command
PDF
DOC
List of usernames and passwords for Huawei routers
DOC
Cisco switch commands cheat sheet
DOC
Cisco router command configuration overview
PPTX
JUNOS: OSPF and BGP
PDF
CCNA CheatSheet
PDF
CCNA - Routing & Switching Commands
DOCX
Huawei cisco command conversion
PDF
Cisco router-commands
PPTX
Virtual Routing and Forwarding, (VRF-lite)
PDF
Cisco commands List for Beginners (CCNA, CCNP)
PPT
Cisco icons
PDF
Policy and firewall_filters
PPTX
CCNA ppt Day 1
Huawei switch configuration commands
Ccna Commands In 10 Minutes
Router commands
IOS Cisco - Cheat sheets
Ncat ccna cheat sheet
Ccna command
List of usernames and passwords for Huawei routers
Cisco switch commands cheat sheet
Cisco router command configuration overview
JUNOS: OSPF and BGP
CCNA CheatSheet
CCNA - Routing & Switching Commands
Huawei cisco command conversion
Cisco router-commands
Virtual Routing and Forwarding, (VRF-lite)
Cisco commands List for Beginners (CCNA, CCNP)
Cisco icons
Policy and firewall_filters
CCNA ppt Day 1
Ad

Similar to Huawei Router Basic Configuration Command (20)

PPT
Chapter10ccna
PPTX
102- HCSCA103 Basic Network Concepts based on issue 1.00.pptx
PPTX
103 Basic network concepts
PDF
Ip Access Lists
PPT
20 access lists[1]
PDF
2) VRP Basic Configuration.pdf
DOCX
Saad baig practical file
PPT
Chapter10ccna
PPT
Chapter10ccna
PPTX
104 Common network devices
DOCX
1 SEC450 ACL Tutorial This document highlights.docx
DOCX
Student Name _________________________________ Date _____________SE.docx
PPTX
Huawei AR 150 Series.pptx
PDF
Labmannual
PPT
Static Routing
PDF
huawei-ar207-brochure-datasheet.pdf
DOC
Example for configuring local attack defense
PPT
CCNA Security - Chapter 4
DOCX
Cisco asa dhcp services
PDF
CCNA Routing Protocols
Chapter10ccna
102- HCSCA103 Basic Network Concepts based on issue 1.00.pptx
103 Basic network concepts
Ip Access Lists
20 access lists[1]
2) VRP Basic Configuration.pdf
Saad baig practical file
Chapter10ccna
Chapter10ccna
104 Common network devices
1 SEC450 ACL Tutorial This document highlights.docx
Student Name _________________________________ Date _____________SE.docx
Huawei AR 150 Series.pptx
Labmannual
Static Routing
huawei-ar207-brochure-datasheet.pdf
Example for configuring local attack defense
CCNA Security - Chapter 4
Cisco asa dhcp services
CCNA Routing Protocols
Ad

More from Huanetwork (20)

PDF
Huawei s5710-ei-power-module-test-report
DOC
Huanetwork x dsl solution - huawei adsl2+ and vdsl2 solution)
DOC
Wiki and solution in ftth technology
DOC
Ont, olt and mdu in gpon technology
DOC
What are the differences between huawei and cisco wlan products
DOC
Huawei ac6005
DOC
How to Configure QinQ?
DOC
How to configure inband management for huawei ma5616
DOC
What is huawei quidway s5300 gigabit switches
DOC
How to configure eo c services for huawei ol ts
DOC
Huawei osn3500 typical networking in packet mode
DOC
Huawei opti x osn 1500 boards
DOC
Huawei net engine5000e core router chassis and features
DOC
Huawei ftth c b e2 e solution
DOC
Huawei osn3500 typical networking in packet mode
DOC
What’s the Difference Between GPON and EPON
DOC
Huawei s3700 cables
DOC
Differences of Huawei S5700 Series LI, SI, EI and HI
DOC
How to configure the logical distance of gpon
DOC
Huawei s9300 terabit routing switch
Huawei s5710-ei-power-module-test-report
Huanetwork x dsl solution - huawei adsl2+ and vdsl2 solution)
Wiki and solution in ftth technology
Ont, olt and mdu in gpon technology
What are the differences between huawei and cisco wlan products
Huawei ac6005
How to Configure QinQ?
How to configure inband management for huawei ma5616
What is huawei quidway s5300 gigabit switches
How to configure eo c services for huawei ol ts
Huawei osn3500 typical networking in packet mode
Huawei opti x osn 1500 boards
Huawei net engine5000e core router chassis and features
Huawei ftth c b e2 e solution
Huawei osn3500 typical networking in packet mode
What’s the Difference Between GPON and EPON
Huawei s3700 cables
Differences of Huawei S5700 Series LI, SI, EI and HI
How to configure the logical distance of gpon
Huawei s9300 terabit routing switch

Recently uploaded (20)

PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PPTX
Spectroscopy.pptx food analysis technology
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
Spectral efficient network and resource selection model in 5G networks
PPTX
MYSQL Presentation for SQL database connectivity
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
Encapsulation_ Review paper, used for researhc scholars
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Encapsulation theory and applications.pdf
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PPTX
Programs and apps: productivity, graphics, security and other tools
20250228 LYD VKU AI Blended-Learning.pptx
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Spectroscopy.pptx food analysis technology
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Dropbox Q2 2025 Financial Results & Investor Presentation
Reach Out and Touch Someone: Haptics and Empathic Computing
Spectral efficient network and resource selection model in 5G networks
MYSQL Presentation for SQL database connectivity
Unlocking AI with Model Context Protocol (MCP)
Mobile App Security Testing_ A Comprehensive Guide.pdf
Encapsulation_ Review paper, used for researhc scholars
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Digital-Transformation-Roadmap-for-Companies.pptx
Encapsulation theory and applications.pdf
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
Review of recent advances in non-invasive hemoglobin estimation
Building Integrated photovoltaic BIPV_UPV.pdf
Programs and apps: productivity, graphics, security and other tools

Huawei Router Basic Configuration Command

  • 1. 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; show that the routing information; [Liufei]sysname lf123; change the host name [Liufei]super passwrod 123456; setup password; [Liufei]interface serial0; into the interface; [Liufei-serial0]ip address <ip> <mask|mask_len> IP address configured ports; [Liufei-serial0]undo shutdown; activation port; [Liufei]link-protocol HDLC; binds HDLC protocol; [Liufei]user-interface vty 04 [Liufei-ui-vty0-4]authentication-mode password [Liufei-ui-vty0-4]set authentication-mode password simple 222 [Liufei-ui-vty0-4]user privilege level 3 [Liufei-ui-vty0-4]quit [Liufei]debugging HDLC all serial0; to display all of the information; [Liufei]debugging HDLC event serial0; debug event information [Liufei]debugging HDLC packet serial0; show the package information 1
  • 2. Static routing: [Liufei]ip route-static <ip><mask>{interface number|nexthop}[value][reject|blackhole] For example: [Liufei]ip route-static 129.1.0.0 16 10.0.0.2 [Liufei]ip route-static 129.1.0.0 255.255.0.0 10.0.0.2 [Liufei]ip route-static 129.1.0.0 16 Serial 2 [Liufei]ip route-static 0.0.0.0 0.0.0.0 10.0.0.2 Dynamic routing: [Liufei]rip; set dynamic routing [Liufei]rip work is allowed to work; [Liufei]rip input set the entrance permit; [Liufei]rip output; set the export permit [Liufei-rip]network 1.0.0.0; set the exchange routing network [Liufei-rip]network all; set the exchange with all network [Liufei-rip]peer ip-address; [Liufei-rip]summary routing aggregation; [Liufei]rip version 1; installed in version 1 [Liufei]rip version 2 multicast; with version 2, multicast [Liufei-Ethernet0]rip split-horizon; horizontal partitioning [Liufei]router ID A.B.C.D; configure router ID [Liufei]ospf enable start OSPF protocol; 2
  • 3. [Liufei-ospf]import-route direct; introducing the direct route [Liufei-Serial0]ospf enable area <area_id> OSPF region; Standard access list command format is as follows: ACL <acl-number> [match-order config|auto]; the default of the former sequence matching. Rule [normal|special]{permit|deny} [source source-addr source-wildcard|any] An example: [Liufei]acl 10 [Liufei-acl-10]rule normal permit source 10.0.0.0 0.0.0.255 [Liufei-acl-10]rule normal deny source any Extended access list configuration command Extended configuration of TCP/UDP protocol access list: Rule {normal|special}{permit|deny}{tcp|udp}source {<ip wild>|any}destination <ip wild>| any} [operate] Extended configuration of ICMP protocol access list: Rule {normal|special}{permit|deny}icmp source {<ip wild>|any]destination {<ip wild>|any] [icmp-code] [logging] Extended access control list the meaning of the operators Equal PortNumber; equal 3
  • 4. Greater-than PortNumber; greater than Less-than is PortNumber; less than Not-equal PortNumber; unequal Range portnumber1 portnumber2; interval Extended access control list example [Liufei]acl 101 [Liufei-acl-101]rule deny souce any destination any [Liufei-acl-101]rule permit ICMP source any destination any icmp-type echo [Liufei-acl-101]rule permit ICMP source any destination any icmp-type echo-reply [Liufei]acl 102 [Liufei-acl-102]rule permit IP source 10.0.0.1 0.0.0.0 destination 202.0.0.1 0.0.0.0 [Liufei-acl-102]rule deny IP source any destination any [Liufei]acl 103 [Liufei-acl-103]rule permit TCP source any destination 10.0.0.1 0.0.0.0 destination-port equalFTP [Liufei-acl-103]rule permit TCP source any destination 10.0.0.2 0.0.0.0 destination-port equalwww [Liufei]firewall enable [Liufei]firewall default permit|deny [Liufei]int E0 [Liufei-Ethernet0]firewall packet-filter 101 inbound|outbound Address conversion configuration example [Liufei]firewall enable 4
  • 5. [Liufei]firewall default permit [Liufei]acl 101; the internal host can enter the E0 [Liufei-acl-101]rule deny IP source any destination any [Liufei-acl-101]rule permit IP source 129.38.1.1 0 destination any [Liufei-acl-101]rule permit IP source 129.38.1.2 0 destination any [Liufei-acl-101]rule permit IP source 129.38.1.3 0 destination any [Liufei-acl-101]rule permit IP source 129.38.1.4 0 destination any [Liufei-acl-101]quit [Liufei]int E0 [Liufei-Ethernet0]firewall packet-filter 101 inbound [Liufei]acl 102; the external host specific and more than 1024 port packet is allowed to enter the S0 [Liufei-acl-102]rule deny IP source any destination any [Liufei-acl-102]rule permit TCP source 202.39.2.3 0 destination 202.38.160.1 0 [Liufei-acl-102]rule permit TCP source any destination 202.38.160.1 0 destination-port great-than 1024 [Liufei-acl-102]quit [Liufei]int S0 [Liufei-Serial0]firewall packet-filter 102 inbound; 202.38.160.1 is the egress router IP. [Liufei-Serial0]nat outbound 101 interface; Easy IP, ACL 101 allows IP from this interfacetransform source address. 5
  • 6. More related: HOW TO CONNECT HUAWEI ROUTER USE VPN HOW TO CONFIGURE HUAWEI AR3200 SERIES ROUTER? HOW TO CONFIGURE THE PPPOE CLIENT ON HUAWEI AR1200? More Huawei products and Reviews you can visit: http://www.huanetwork.com/blog Huanetwork.com is a world leading Huawei networking products distributor, we wholesale original new Huawei networking equipments, including Huawei switches, Huawei routers, Huaweisymantec security products, Huawei IAD, Huawei SFP and other Huawei networking products. Our customers include telecom operators, Huawei resellers, ISP and system integrators. Right now most of our sales are contributed by regular customers Our website: http://www.huanetwork.com Telephone: +852-30501940 Email: sales@huanetwork.com Address: 23/F Lucky Plaza, 315-321 Lockhart Road, Wanchai, Hongkong 6
  • 7. More related: HOW TO CONNECT HUAWEI ROUTER USE VPN HOW TO CONFIGURE HUAWEI AR3200 SERIES ROUTER? HOW TO CONFIGURE THE PPPOE CLIENT ON HUAWEI AR1200? More Huawei products and Reviews you can visit: http://www.huanetwork.com/blog Huanetwork.com is a world leading Huawei networking products distributor, we wholesale original new Huawei networking equipments, including Huawei switches, Huawei routers, Huaweisymantec security products, Huawei IAD, Huawei SFP and other Huawei networking products. Our customers include telecom operators, Huawei resellers, ISP and system integrators. Right now most of our sales are contributed by regular customers Our website: http://www.huanetwork.com Telephone: +852-30501940 Email: sales@huanetwork.com Address: 23/F Lucky Plaza, 315-321 Lockhart Road, Wanchai, Hongkong 6