SlideShare a Scribd company logo
1 of 7
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

What's hot

Bts3900 Site Maintenance Guide(V200 01)
Bts3900 Site Maintenance Guide(V200 01)Bts3900 Site Maintenance Guide(V200 01)
Bts3900 Site Maintenance Guide(V200 01)
Atif Mahmood
 
01 Bts3900 System Structure
01 Bts3900 System Structure01 Bts3900 System Structure
01 Bts3900 System Structure
Atif Mahmood
 
Base Station Vendors
Base Station VendorsBase Station Vendors
Base Station Vendors
guest1e911f5
 
Cisco router configuration tutorial
Cisco router configuration tutorialCisco router configuration tutorial
Cisco router configuration tutorial
IT Tech
 

What's hot (20)

Bts3900 Site Maintenance Guide(V200 01)
Bts3900 Site Maintenance Guide(V200 01)Bts3900 Site Maintenance Guide(V200 01)
Bts3900 Site Maintenance Guide(V200 01)
 
Ccna command
Ccna commandCcna command
Ccna command
 
Cisco Commands
Cisco CommandsCisco Commands
Cisco Commands
 
Lab huawei2
Lab huawei2Lab huawei2
Lab huawei2
 
Cisco switch commands cheat sheet
Cisco switch commands cheat sheetCisco switch commands cheat sheet
Cisco switch commands cheat sheet
 
How to configure vlan, stp, dtp step by step guide
How to configure vlan, stp, dtp step by step guideHow to configure vlan, stp, dtp step by step guide
How to configure vlan, stp, dtp step by step guide
 
01 Bts3900 System Structure
01 Bts3900 System Structure01 Bts3900 System Structure
01 Bts3900 System Structure
 
Cisco commands List for Beginners (CCNA, CCNP)
Cisco commands List for Beginners (CCNA, CCNP)Cisco commands List for Beginners (CCNA, CCNP)
Cisco commands List for Beginners (CCNA, CCNP)
 
Router commands
Router commandsRouter commands
Router commands
 
VoIP and data communication using cisco packet tracer
VoIP and data communication using cisco packet tracerVoIP and data communication using cisco packet tracer
VoIP and data communication using cisco packet tracer
 
Gpon Fundamentals
Gpon FundamentalsGpon Fundamentals
Gpon Fundamentals
 
Router commands
Router commandsRouter commands
Router commands
 
Juniper Switch Overview
Juniper Switch OverviewJuniper Switch Overview
Juniper Switch Overview
 
CCNA CheatSheet
CCNA CheatSheetCCNA CheatSheet
CCNA CheatSheet
 
Siae datasheet
Siae datasheetSiae datasheet
Siae datasheet
 
Base Station Vendors
Base Station VendorsBase Station Vendors
Base Station Vendors
 
Cisco router configuration tutorial
Cisco router configuration tutorialCisco router configuration tutorial
Cisco router configuration tutorial
 
Huawei DBS 3900 Hardware Structure
Huawei DBS 3900 Hardware StructureHuawei DBS 3900 Hardware Structure
Huawei DBS 3900 Hardware Structure
 
IOS Cisco - Cheat sheets
IOS Cisco - Cheat sheetsIOS Cisco - Cheat sheets
IOS Cisco - Cheat sheets
 
Comandos cisco x huawei
Comandos cisco x huaweiComandos cisco x huawei
Comandos cisco x huawei
 

Similar to Huawei Router Basic Configuration Command

Palo Alto VM-100 Configuration Lab
Palo Alto VM-100 Configuration LabPalo Alto VM-100 Configuration Lab
Palo Alto VM-100 Configuration Lab
Mykhaylo Skrypka
 
4.4.1.2 packet tracer configure ip ac ls to mitigate attacks-instructor
4.4.1.2 packet tracer   configure ip ac ls to mitigate attacks-instructor4.4.1.2 packet tracer   configure ip ac ls to mitigate attacks-instructor
4.4.1.2 packet tracer configure ip ac ls to mitigate attacks-instructor
Salem Trabelsi
 
Data Center Design Guide 4 2
Data Center Design Guide 4 2Data Center Design Guide 4 2
Data Center Design Guide 4 2
Fiyaz Syed
 
Cisco discovery drs ent module 8 - v.4 in english.
Cisco discovery   drs ent module 8 - v.4 in english.Cisco discovery   drs ent module 8 - v.4 in english.
Cisco discovery drs ent module 8 - v.4 in english.
igede tirtanata
 
04 module operating & configuring ios
04  module operating & configuring ios04  module operating & configuring ios
04 module operating & configuring ios
Asif
 

Similar to Huawei Router Basic Configuration Command (20)

Huawei AR 150 Series.pptx
Huawei AR 150 Series.pptxHuawei AR 150 Series.pptx
Huawei AR 150 Series.pptx
 
2) VRP Basic Configuration.pdf
2) VRP Basic Configuration.pdf2) VRP Basic Configuration.pdf
2) VRP Basic Configuration.pdf
 
Chapter10ccna
Chapter10ccnaChapter10ccna
Chapter10ccna
 
CCNA Security 09- ios firewall fundamentals
CCNA Security 09- ios firewall fundamentalsCCNA Security 09- ios firewall fundamentals
CCNA Security 09- ios firewall fundamentals
 
Palo Alto VM-100 Configuration Lab
Palo Alto VM-100 Configuration LabPalo Alto VM-100 Configuration Lab
Palo Alto VM-100 Configuration Lab
 
Wireless Penetration Testing
Wireless Penetration TestingWireless Penetration Testing
Wireless Penetration Testing
 
IP and VoIP Fundamentals
IP and VoIP FundamentalsIP and VoIP Fundamentals
IP and VoIP Fundamentals
 
CCNA2 Verson6 Chapter8
CCNA2 Verson6 Chapter8CCNA2 Verson6 Chapter8
CCNA2 Verson6 Chapter8
 
Configuracion EIGRP
Configuracion EIGRPConfiguracion EIGRP
Configuracion EIGRP
 
4.4.1.2 packet tracer configure ip ac ls to mitigate attacks-instructor
4.4.1.2 packet tracer   configure ip ac ls to mitigate attacks-instructor4.4.1.2 packet tracer   configure ip ac ls to mitigate attacks-instructor
4.4.1.2 packet tracer configure ip ac ls to mitigate attacks-instructor
 
Chapter 10 - DHCP
Chapter 10 - DHCPChapter 10 - DHCP
Chapter 10 - DHCP
 
CCNAv5 - S2: Chapter10 DHCP
CCNAv5 - S2: Chapter10 DHCPCCNAv5 - S2: Chapter10 DHCP
CCNAv5 - S2: Chapter10 DHCP
 
Configuring the Device as a PPPoE Client on Huawei AR1200
Configuring the Device as a PPPoE Client on Huawei AR1200Configuring the Device as a PPPoE Client on Huawei AR1200
Configuring the Device as a PPPoE Client on Huawei AR1200
 
CCNA (R & S) Module 03 - Routing & Switching Essentials - Chapter 8
CCNA (R & S) Module 03 - Routing & Switching Essentials - Chapter 8CCNA (R & S) Module 03 - Routing & Switching Essentials - Chapter 8
CCNA (R & S) Module 03 - Routing & Switching Essentials - Chapter 8
 
Chapter 21 : DHCP
Chapter 21 : DHCPChapter 21 : DHCP
Chapter 21 : DHCP
 
Data Center Design Guide 4 2
Data Center Design Guide 4 2Data Center Design Guide 4 2
Data Center Design Guide 4 2
 
Cisco discovery drs ent module 8 - v.4 in english.
Cisco discovery   drs ent module 8 - v.4 in english.Cisco discovery   drs ent module 8 - v.4 in english.
Cisco discovery drs ent module 8 - v.4 in english.
 
Manual linksys router_rv082
Manual linksys router_rv082Manual linksys router_rv082
Manual linksys router_rv082
 
Dhc pv4
Dhc pv4Dhc pv4
Dhc pv4
 
04 module operating & configuring ios
04  module operating & configuring ios04  module operating & configuring ios
04 module operating & configuring ios
 

More from Huanetwork

Huawei net engine5000e core router chassis and features
Huawei net engine5000e core router chassis and featuresHuawei net engine5000e core router chassis and features
Huawei net engine5000e core router chassis and features
Huanetwork
 

More from Huanetwork (20)

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

Recently uploaded

Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 

Recently uploaded (20)

DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKSpring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Cyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdfCyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdf
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 

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