SlideShare une entreprise Scribd logo
1  sur  7
Télécharger pour lire hors ligne
Huawei switch configuration commands
Huawei router switch configuration commands: computer command
PCAlogin:root; root users
The password:linux password is Linux;
#shutdown-hnow shutdown;
#init0 shutdown;
#logout; user logoff
#login; user login
#ifconfig displays the IP address;
#ifconfigeth0netmask; set the IP address
#ifconfigeht0netmaskdown; disable IP address
#routeadd0.0.0.0gw; set the gateway
#routedel0.0.0.0gw delete gateway;
#routeadddefaultgw; set the gateway
#routedeldefaultgw delete gateway;
#route display gateway;
#ping; send ECHO packets
#telnet; remote login
Huawei router switch configuration commands: switch command
[Quidway]discur displays the current configuration;
[Quidway]displaycurrent-configuration displays the current configuration;
[Quidway]displayinterfaces display interface information;
[Quidway]displayvlanall displays the routing information;
[Quidway]displayversion; display version information
[Quidway]superpassword; modify privileged user password
[Quidway]sysname switch name;
[Quidway]interfaceethernet0/1; into the interface view
[Quidway]interfacevlanx; into the interface view
[Quidway-Vlan-interfacex]ipaddress10.65.1.1255.255.0.0; VLAN IP address configuration
[Quidway]iproute-static0.0.0.00.0.0.010.65.1.2; static routing = gateway
[Quidway]rip; three layer exchange support
[Quidway]local-userftp
[Quidway]user-interfacevty04; enter virtual terminal
[S3026-ui-vty0-4]authentication-modepassword; set the password mode
[S3026-ui-vty0-4]setauthentication-modepasswordsimple222; set the password
[S3026-ui-vty0-4]userprivilegelevel3; user level
[Quidway]interfaceethernet0/1 entered the port mode;
[Quidway]inte0/1 entered the port mode;
[Quidway-Ethernet0/1]duplex{half|full|auto}; working state port configuration
[Quidway-Ethernet0/1]speed{10|100|auto} configure the port work rate;
[Quidway-Ethernet0/1]flow-control; configuration port flow control
1
[Quidway-Ethernet0/1]mdi{across|auto|normal}; configuration port flush twisting
[Quidway-Ethernet0/1]portlink-type{trunk|access|hybrid}; set the port mode
[Quidway-Ethernet0/1]portaccessvlan3; add the port to VLAN
[Quidway-Ethernet0/2]porttrunkpermitvlan{ID|All}; trunk VLAN allowed
[Quidway-Ethernet0/3]porttrunkpvidvlan3; set the trunk port of PVID
[Quidway-Ethernet0/1]undoshutdown activation port;
[Quidway-Ethernet0/1]shutdown; closed port
[Quidway-Ethernet0/1]quit; return
Create a VLAN [Quidway]vlan3;
[Quidway-vlan3]portethernet0/1; add port in VLAN
[Quidway-vlan3]porte0/1 shorthand method;
[Quidway-vlan3]portethernet0/1toethernet0/4; add port in VLAN
[Quidway-vlan3]porte0/1toe0/4 shorthand method;
[Quidway]monitor-port; designated port mirroring
[Quidway]portmirror; assigned port mirroring
[Quidway]portmirrorint_listobserving-portint_typeint_num; specify a mirror and mirror
[Quidway]descriptionstring specifies the VLAN description character;
[Quidway]description; deletion of VLAN description character
Check the VLAN settings to [Quidway]displayvlan[vlan_id];
[Quidway]stp{enable|disable}; set the spanning tree, is turned off by default
[Quidway]stppriority4096; set spantree priority
[Quidway]stproot{primary|secondary}; set as the root or root backup
[Quidway-Ethernet0/1]stpcost200; set the switch port cost
[Quidway]link-aggregatione0/1toe0/4ingress|both port polymerization;
[Quidway]undolink-aggregatione0/1|all; start port channel number
[SwitchA-vlanx]isolate-user-vlanenable; set master VLAN
[SwitchA]isolate-user-vlansecondary; set the main VLAN including VLAN
[Quidway-Ethernet0/2]porthybridpvidvlan; VLAN PVID
Remove VLAN PVID [Quidway-Ethernet0/2]porthybridpvid;
[Quidway-Ethernet0/2]porthybridvlanvlan_id_listuntagged; set no identification VLAN
If the package of vlanid is consistent with PVId, then remove the default PVID=1 VLAN
information.
So the PVID is set for the vlanid, set VLAN untagged. Exchange
Huawei router switch configuration commands: router command
[Quidway]displayversion; display version information
[Quidway]displaycurrent-configuration displays the current configuration;
[Quidway]displayinterfaces display interface information;
[Quidway]displayiproute displays the routing information;
[Quidway]sysnameaabbcc; change the host name
[Quidway]superpasswrod123456; set the password
[Quidway]interfaceserial0 into the interface;
[Quidway-serial0]ipaddress configure the port IP address;
2
[Quidway-serial0]undoshutdown activation port;
[Quidway]link-protocolhdlc binds HDLC protocol;
[Quidway]user-interfacevty04
[Quidway-ui-vty0-4]authentication-modepassword
[Quidway-ui-vty0-4]setauthentication-modepasswordsimple222
[Quidway-ui-vty0-4]userprivilegelevel3
[Quidway-ui-vty0-4]quit
[Quidway]debugginghdlcallserial0 display all of the information;
Debugging [Quidway]debugginghdlceventserial0 event information;
[Quidway]debugginghdlcpacketserial0; show the package information
Huawei router switch configuration commands: static routing:
[Quidway]iproute-static{interfacenumber|nexthop}[value][reject|blackhole]
For example: [Quidway]iproute-static129.1.0.01610.0.0.2
[Quidway]iproute-static129.1.0.0255.255.0.010.0.0.2
[Quidway]iproute-static129.1.0.016Serial2
[Quidway]iproute-static0.0.0.00.0.0.010.0.0.2
Huawei router switch configuration commands: dynamic routing:
[Quidway]rip; set dynamic routing
[Quidway]ripwork is allowed to work;
[Quidway]ripinput; set the entrance permit
[Quidway]ripoutput; set the export permit
[Quidway-rip]network1.0.0.0; set the exchange routing network
[Quidway-rip]networkall; set the exchange with all network
[Quidway-rip]peerip-address;
[Quidway-rip]summary routing aggregation;
[Quidway]ripversion1; set up work in version 1
With version 2, [Quidway]ripversion2multicast; multicast
[Quidway-Ethernet0]ripsplit-horizon; horizontal partitioning
[Quidway]routeridA.B.C.D; configure router ID
[Quidway]ospfenable; OSPF protocol
[Quidway-ospf]import-routedirect; introducing the direct route
The [Quidway-Serial0]ospfenablearea configuration OSPF region;
Huawei router switch configuration commands: standard access list command
format is as follows:
The default acl[match-orderconfig|auto]; the former sequence matching.
Rule[normal|special]{permit|deny}[sourcesource-addrsource-wildcard|any]
Example: [Quidway]acl10
[Quidway-acl-10]rulenormalpermitsource10.0.0.00.0.0.255
[Quidway-acl-10]rulenormaldenysourceany
Huawei router switch configuration commands: extended access list configuration
command
3
Extended configuration of TCP/UDP protocol access list:
Rule{normal|special}{permit|deny}{tcp|udp}source{|any}destination|any}
[operate]
Extended configuration of ICMP protocol access list:
Rule{normal|special}{permit|deny}icmpsource{|any]destination{|any]
[icmp-code][logging]
Huawei router switch configuration commands: extended access control list the meaning
of the operators
Is equal to equalportnumber;
Greater than greater-thanportnumber;
Less than less-thanportnumber;
Not-equalportnumber unequal;
Rangeportnumber1portnumber2; interval
Huawei router switch configuration commands: extended access list example
[Quidway]acl101
[Quidway-acl-101]ruledenysouceanydestinationany
[Quidway-acl-101]rulepermiticmpsourceanydestinationanyicmp-typeecho
[Quidway-acl-101]rulepermiticmpsourceanydestinationanyicmp-typeecho-reply
[Quidway]acl102
[Quidway-acl-102]rulepermitipsource10.0.0.10.0.0.0destination202.0.0.10.0.0.0
[Quidway-acl-102]ruledenyipsourceanydestinationany
[Quidway]acl103
[Quidway-acl-103]rulepermittcpsourceanydestination10.0.0.10.0.0.0destinationportequalftp
[Quidway-acl-103]rulepermittcpsourceanydestination10.0.0.20.0.0.0destinationportequalwww
[Quidway]firewallenable
[Quidway]firewalldefaultpermit|deny
[Quidway]inte0
[Quidway-Ethernet0]firewallpacket-filter101inbound|outbound
Huawei router switch configuration commands: address conversion configuration
example
[Quidway]firewallenable
[Quidway]firewalldefaultpermit
[Quidway]acl101; internal host can enter the E0
[Quidway-acl-101]ruledenyipsourceanydestinationany
[Quidway-acl-101]rulepermitipsource129.38.1.10destinationany
[Quidway-acl-101]rulepermitipsource129.38.1.20destinationany
[Quidway-acl-101]rulepermitipsource129.38.1.30destinationany
[Quidway-acl-101]rulepermitipsource129.38.1.40destinationany
[Quidway-acl-101]quit
[Quidway]inte0
4
[Quidway-Ethernet0]firewallpacket-filter101inbound
[Quidway]acl102; the external host specific and more than 1024 port packet is allowed to
enter the S0
[Quidway-acl-102]ruledenyipsourceanydestinationany
[Quidway-acl-102]rulepermittcpsource202.39.2.30destination202.38.160.10
[Quidway-acl-102]rulepermittcpsourceanydestination202.38.160.10destination-portgreatthan
1024
[Quidway-acl-102]quit
[Quidway]ints0
[Quidway-Serial0]firewallpacket-filter102inbound; 202.38.160.1 is the router IP.
[Quidway-Serial0]natoutbound101interface; Easyip, acl101 allows IP from this interface
transform source address.
Huawei router switch configuration commands: internal server address conversion
configuration command (static NAT):
Natserverglobal[port]insideport[protocol]; global_port does not write when using
inside_port
[Quidway-Serial0]natserverglobal202.38.160.1inside129.38.1.1ftptcp
[Quidway-Serial0]natserverglobal202.38.160.1inside129.38.1.2telnettcp
[Quidway-Serial0]natserverglobal202.38.160.1inside129.38.1.3wwwtcp
A public IP:202.38.160.101~202.38.160.103 can use. Foreign access (the original
examples);
[Quidway]nataddress-group202.38.160.101202.38.160.103pool1; set up address pool
[Quidway]acl1
[Quidway-acl-1]rulepermitsource10.110.10.00.0.0.255 specifies the allowable internal
network;
[Quidway-acl-1]ruledenysourceany
[Quidway-acl-1]intserial0
Remove the IP [Quidway-Serial0]natoutbound1address-grouppool1; foreign access from
the address pool in S0 port
[Quidway-Serial0]natserverglobal202.38.160.101inside10.110.10.1ftptcp
[Quidway-Serial0]natserverglobal202.38.160.102inside10.110.10.2wwwtcp
[Quidway-Serial0]natserverglobal202.38.160.1028080inside10.110.10.3wwwtcp
[Quidway-Serial0]natserverglobal202.38.160.103inside10.110.10.4smtpudp
Huawei router switch configuration commands: PPP settings: [Quidway-s0]linkprotocolppp; the default protocol
Huawei router switch configuration commands: PPP verification:
The main prescription: pap|chap
[Quidway]local-userq2password{simple|cipher}hello; router 1
[Quidway]interfaceserial0
[Quidway-serial0]pppauthentication-mode{pap|chap}
5
[Quidway-serial0]pppchapuserq1; PAP, not this sentence
Huawei routing switch configuration commands: PAP is prescription:
[Quidway]interfaceserial0; router 2
[Quidway-serial0]ppppaplocal-userq2password{simple|cipher}hello
Huawei router switch configuration commands: chap is prescription:
[Quidway]interfaceserial0; router 2
[Quidway-serial0]pppchapuserq2; its router name
[Quidway-serial0]local-userq1password{simple|cipher}hello; the other router name
Frame relay frame-relay (two: 6-61)
[q1]frswitching
[q1]ints1
[q1-Serial1]ipaddress192.168.34.51255.255.255.0
[q1-Serial1]link-protocolfr; encapsulation frame relay protocol
[q1-Serial1]frinterface-typedce
[q1-Serial1]frdlci100
[q1-Serial1]frinarp
[q1-Serial1]frmapip192.168.34.52dlci100
[q2]ints1
[q2-Serial1]ipaddress192.168.34.52255.255.255.0
[q2-Serial1]link-protocolfr
[q2-Serial1]frinterface-typedte
[q2-Serial1]frdlci100
[q2-Serial1]frinarp
[q2-Serial1]frmapip192.168.34.51dlci100
Huawei router switch configuration commands: frame relay monitoring
[q1]displayfrlmi-info[]interfacetypenumber]
[q1]displayfrmap
[q1]displayfrpvc-info[serialinterface-number][dlcidlci-number]
[q1]displayfrdlci-switch
[q1]displayfrinterface
[q1]resetfrinarp-info
[q1]debuggingfrall[interfacetypenumber]
[q1]debuggingfrarp[interfacetypenumber]
[q1]debuggingfrevent[interfacetypenumber]
[q1]debuggingfrlmi[interfacetypenumber]
Huawei router switch configuration commands: start the FTP service:
[Quidway]local-userftppassword{simple|cipher}aaaservice-typeftp
[Quidway]ftpserverenable

6
More related:
HUAWEI SWITCH CONFIGURATION COMMANDS
HUAWEI ROUTER AND SWITCH CONFIGURATION COMMANDS
ABOUT BASIC QOS POLICY FOR HUAWEI ROUTER
More information 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

7

Contenu connexe

Tendances

Huawei Switch How To - Configuring a basic DHCP server
Huawei Switch How To - Configuring a basic DHCP serverHuawei Switch How To - Configuring a basic DHCP server
Huawei Switch How To - Configuring a basic DHCP serverIPMAX s.r.l.
 
Chapter 16 : inter-vlan routing
Chapter 16 : inter-vlan routingChapter 16 : inter-vlan routing
Chapter 16 : inter-vlan routingteknetir
 
Soal Network Actual & Future Network - ITNSA LKS SMK Tingkat Provinsi NTB 2021
Soal Network Actual & Future Network - ITNSA LKS SMK Tingkat Provinsi NTB 2021Soal Network Actual & Future Network - ITNSA LKS SMK Tingkat Provinsi NTB 2021
Soal Network Actual & Future Network - ITNSA LKS SMK Tingkat Provinsi NTB 2021I Putu Hariyadi
 
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 guideIT Tech
 
MPLS L3 VPN Tutorial, by Nurul Islam Roman [APNIC 38]
MPLS L3 VPN Tutorial, by Nurul Islam Roman [APNIC 38]MPLS L3 VPN Tutorial, by Nurul Islam Roman [APNIC 38]
MPLS L3 VPN Tutorial, by Nurul Islam Roman [APNIC 38]APNIC
 
BGP Advance Technique by Steven & James
BGP Advance Technique by Steven & JamesBGP Advance Technique by Steven & James
BGP Advance Technique by Steven & JamesFebrian ‎
 
CCNAv5 - S2: Chapter5 Inter Vlan Routing
CCNAv5 - S2: Chapter5 Inter Vlan RoutingCCNAv5 - S2: Chapter5 Inter Vlan Routing
CCNAv5 - S2: Chapter5 Inter Vlan RoutingVuz Dở Hơi
 
CISCO Virtual Private LAN Service (VPLS) Technical Deployment Overview
CISCO Virtual Private LAN Service (VPLS) Technical Deployment OverviewCISCO Virtual Private LAN Service (VPLS) Technical Deployment Overview
CISCO Virtual Private LAN Service (VPLS) Technical Deployment OverviewAmeen Wayok
 
MPLS L3 VPN Deployment
MPLS L3 VPN DeploymentMPLS L3 VPN Deployment
MPLS L3 VPN DeploymentAPNIC
 
6.5.1.2 packet tracer layer 2 security instructor
6.5.1.2 packet tracer   layer 2 security instructor6.5.1.2 packet tracer   layer 2 security instructor
6.5.1.2 packet tracer layer 2 security instructorSalem Trabelsi
 

Tendances (20)

Huawei Switch How To - Configuring a basic DHCP server
Huawei Switch How To - Configuring a basic DHCP serverHuawei Switch How To - Configuring a basic DHCP server
Huawei Switch How To - Configuring a basic DHCP server
 
Chapter 16 : inter-vlan routing
Chapter 16 : inter-vlan routingChapter 16 : inter-vlan routing
Chapter 16 : inter-vlan routing
 
Soal Network Actual & Future Network - ITNSA LKS SMK Tingkat Provinsi NTB 2021
Soal Network Actual & Future Network - ITNSA LKS SMK Tingkat Provinsi NTB 2021Soal Network Actual & Future Network - ITNSA LKS SMK Tingkat Provinsi NTB 2021
Soal Network Actual & Future Network - ITNSA LKS SMK Tingkat Provinsi NTB 2021
 
vlan
vlanvlan
vlan
 
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
 
CCNA CheatSheet
CCNA CheatSheetCCNA CheatSheet
CCNA CheatSheet
 
Fhrp notes
Fhrp notesFhrp notes
Fhrp notes
 
MPLS L3 VPN Tutorial, by Nurul Islam Roman [APNIC 38]
MPLS L3 VPN Tutorial, by Nurul Islam Roman [APNIC 38]MPLS L3 VPN Tutorial, by Nurul Islam Roman [APNIC 38]
MPLS L3 VPN Tutorial, by Nurul Islam Roman [APNIC 38]
 
Router commands
Router commandsRouter commands
Router commands
 
BGP Advance Technique by Steven & James
BGP Advance Technique by Steven & JamesBGP Advance Technique by Steven & James
BGP Advance Technique by Steven & James
 
Lab huawei2
Lab huawei2Lab huawei2
Lab huawei2
 
Policy Based Routing
Policy Based RoutingPolicy Based Routing
Policy Based Routing
 
CCNAv5 - S2: Chapter5 Inter Vlan Routing
CCNAv5 - S2: Chapter5 Inter Vlan RoutingCCNAv5 - S2: Chapter5 Inter Vlan Routing
CCNAv5 - S2: Chapter5 Inter Vlan Routing
 
Vlan
Vlan Vlan
Vlan
 
CISCO Virtual Private LAN Service (VPLS) Technical Deployment Overview
CISCO Virtual Private LAN Service (VPLS) Technical Deployment OverviewCISCO Virtual Private LAN Service (VPLS) Technical Deployment Overview
CISCO Virtual Private LAN Service (VPLS) Technical Deployment Overview
 
VLAN
VLANVLAN
VLAN
 
MPLS L3 VPN Deployment
MPLS L3 VPN DeploymentMPLS L3 VPN Deployment
MPLS L3 VPN Deployment
 
6.5.1.2 packet tracer layer 2 security instructor
6.5.1.2 packet tracer   layer 2 security instructor6.5.1.2 packet tracer   layer 2 security instructor
6.5.1.2 packet tracer layer 2 security instructor
 
Cours Vlan
Cours VlanCours Vlan
Cours Vlan
 
Cisco Commands
Cisco CommandsCisco Commands
Cisco Commands
 

Similaire à Huawei switch configuration commands

commandes_CHEAT_SH_2.pdf
commandes_CHEAT_SH_2.pdfcommandes_CHEAT_SH_2.pdf
commandes_CHEAT_SH_2.pdfAchRaf264021
 
Huawei AR 150 Series.pptx
Huawei AR 150 Series.pptxHuawei AR 150 Series.pptx
Huawei AR 150 Series.pptxssuser03d8b1
 
How to configure i pv6 static routes
How to configure i pv6 static routesHow to configure i pv6 static routes
How to configure i pv6 static routesHuanetwork
 
Cisco 2960 basic configuration – vlan configuration
Cisco 2960 basic configuration – vlan configurationCisco 2960 basic configuration – vlan configuration
Cisco 2960 basic configuration – vlan configuration3Anetwork com
 
Creating ethernet vla ns on catalyst switches
Creating ethernet vla ns on catalyst switchesCreating ethernet vla ns on catalyst switches
Creating ethernet vla ns on catalyst switchesabeforu
 
Cumulus networks conversion guide
Cumulus networks conversion guideCumulus networks conversion guide
Cumulus networks conversion guideScott Suehle
 
How to Configure QinQ?
How to Configure QinQ?How to Configure QinQ?
How to Configure QinQ?Huanetwork
 
Community tech talk virtual port channel ( v pc ) operations and design best ...
Community tech talk virtual port channel ( v pc ) operations and design best ...Community tech talk virtual port channel ( v pc ) operations and design best ...
Community tech talk virtual port channel ( v pc ) operations and design best ...crojasmo
 
Fortinet Ansible Solution Part 2
Fortinet Ansible Solution Part 2Fortinet Ansible Solution Part 2
Fortinet Ansible Solution Part 2Salim Haniff
 
Comandos routing switching
Comandos routing switchingComandos routing switching
Comandos routing switching1 2d
 
Comandos routing switching
Comandos routing switchingComandos routing switching
Comandos routing switching1 2d
 
Comandos routing switching
Comandos routing switchingComandos routing switching
Comandos routing switching1 2d
 

Similaire à Huawei switch configuration commands (20)

Day 14.2 configuringvla ns
Day 14.2 configuringvla nsDay 14.2 configuringvla ns
Day 14.2 configuringvla ns
 
commandes_CHEAT_SH_2.pdf
commandes_CHEAT_SH_2.pdfcommandes_CHEAT_SH_2.pdf
commandes_CHEAT_SH_2.pdf
 
Huawei AR 150 Series.pptx
Huawei AR 150 Series.pptxHuawei AR 150 Series.pptx
Huawei AR 150 Series.pptx
 
How to configure i pv6 static routes
How to configure i pv6 static routesHow to configure i pv6 static routes
How to configure i pv6 static routes
 
Cisco 2960 basic configuration – vlan configuration
Cisco 2960 basic configuration – vlan configurationCisco 2960 basic configuration – vlan configuration
Cisco 2960 basic configuration – vlan configuration
 
Icnd210 s02l01
Icnd210 s02l01Icnd210 s02l01
Icnd210 s02l01
 
RFI
RFIRFI
RFI
 
Creating ethernet vla ns on catalyst switches
Creating ethernet vla ns on catalyst switchesCreating ethernet vla ns on catalyst switches
Creating ethernet vla ns on catalyst switches
 
Cumulus networks conversion guide
Cumulus networks conversion guideCumulus networks conversion guide
Cumulus networks conversion guide
 
18763980 ccna-lab-manual-640802-ii-2009-ii
18763980 ccna-lab-manual-640802-ii-2009-ii18763980 ccna-lab-manual-640802-ii-2009-ii
18763980 ccna-lab-manual-640802-ii-2009-ii
 
18763980 ccna-lab-manual-640802-ii-2009-ii
18763980 ccna-lab-manual-640802-ii-2009-ii18763980 ccna-lab-manual-640802-ii-2009-ii
18763980 ccna-lab-manual-640802-ii-2009-ii
 
18763980 ccna-lab-manual-640802-ii-2009-ii
18763980 ccna-lab-manual-640802-ii-2009-ii18763980 ccna-lab-manual-640802-ii-2009-ii
18763980 ccna-lab-manual-640802-ii-2009-ii
 
How to Configure QinQ?
How to Configure QinQ?How to Configure QinQ?
How to Configure QinQ?
 
Aruba mobility access switch useful commands v2
Aruba mobility access switch useful commands v2Aruba mobility access switch useful commands v2
Aruba mobility access switch useful commands v2
 
Community tech talk virtual port channel ( v pc ) operations and design best ...
Community tech talk virtual port channel ( v pc ) operations and design best ...Community tech talk virtual port channel ( v pc ) operations and design best ...
Community tech talk virtual port channel ( v pc ) operations and design best ...
 
Fortinet Ansible Solution Part 2
Fortinet Ansible Solution Part 2Fortinet Ansible Solution Part 2
Fortinet Ansible Solution Part 2
 
Comandos routing switching
Comandos routing switchingComandos routing switching
Comandos routing switching
 
Comandos routing switching
Comandos routing switchingComandos routing switching
Comandos routing switching
 
Comandos routing switching
Comandos routing switchingComandos routing switching
Comandos routing switching
 
ACI MultiPod 구성
ACI MultiPod 구성ACI MultiPod 구성
ACI MultiPod 구성
 

Plus de Huanetwork

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-reportHuanetwork
 
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)Huanetwork
 
Wiki and solution in ftth technology
Wiki and solution in ftth technologyWiki and solution in ftth technology
Wiki and solution in ftth technologyHuanetwork
 
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 technologyHuanetwork
 
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 productsHuanetwork
 
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 ma5616Huanetwork
 
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 switchesHuanetwork
 
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 tsHuanetwork
 
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 modeHuanetwork
 
Huawei opti x osn 1500 boards
Huawei opti x osn 1500 boardsHuawei opti x osn 1500 boards
Huawei opti x osn 1500 boardsHuanetwork
 
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 featuresHuanetwork
 
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 solutionHuanetwork
 
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 modeHuanetwork
 
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 EPONHuanetwork
 
Huawei s3700 cables
Huawei s3700 cablesHuawei s3700 cables
Huawei s3700 cablesHuanetwork
 
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 HIHuanetwork
 
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 gponHuanetwork
 
Huawei s9300 terabit routing switch
Huawei s9300 terabit routing switchHuawei s9300 terabit routing switch
Huawei s9300 terabit routing switchHuanetwork
 
Huanetwork Design the Network Solution Free for You
Huanetwork Design the Network Solution Free for YouHuanetwork Design the Network Solution Free for You
Huanetwork Design the Network Solution Free for YouHuanetwork
 

Plus de 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 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
 
Huanetwork Design the Network Solution Free for You
Huanetwork Design the Network Solution Free for YouHuanetwork Design the Network Solution Free for You
Huanetwork Design the Network Solution Free for You
 

Dernier

Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...panagenda
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersNicole Novielli
 
Digital Tools & AI in Career Development
Digital Tools & AI in Career DevelopmentDigital Tools & AI in Career Development
Digital Tools & AI in Career DevelopmentMahmoud Rabie
 
Infrared simulation and processing on Nvidia platforms
Infrared simulation and processing on Nvidia platformsInfrared simulation and processing on Nvidia platforms
Infrared simulation and processing on Nvidia platformsYoss Cohen
 
Irene Moetsana-Moeng: Stakeholders in Cybersecurity: Collaborative Defence fo...
Irene Moetsana-Moeng: Stakeholders in Cybersecurity: Collaborative Defence fo...Irene Moetsana-Moeng: Stakeholders in Cybersecurity: Collaborative Defence fo...
Irene Moetsana-Moeng: Stakeholders in Cybersecurity: Collaborative Defence fo...itnewsafrica
 
4. Cobus Valentine- Cybersecurity Threats and Solutions for the Public Sector
4. Cobus Valentine- Cybersecurity Threats and Solutions for the Public Sector4. Cobus Valentine- Cybersecurity Threats and Solutions for the Public Sector
4. Cobus Valentine- Cybersecurity Threats and Solutions for the Public Sectoritnewsafrica
 
2024 April Patch Tuesday
2024 April Patch Tuesday2024 April Patch Tuesday
2024 April Patch TuesdayIvanti
 
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...Nikki Chapple
 
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesHow to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesThousandEyes
 
Transcript: New from BookNet Canada for 2024: BNC SalesData and LibraryData -...
Transcript: New from BookNet Canada for 2024: BNC SalesData and LibraryData -...Transcript: New from BookNet Canada for 2024: BNC SalesData and LibraryData -...
Transcript: New from BookNet Canada for 2024: BNC SalesData and LibraryData -...BookNet Canada
 
Microsoft 365 Copilot: How to boost your productivity with AI – Part two: Dat...
Microsoft 365 Copilot: How to boost your productivity with AI – Part two: Dat...Microsoft 365 Copilot: How to boost your productivity with AI – Part two: Dat...
Microsoft 365 Copilot: How to boost your productivity with AI – Part two: Dat...Nikki Chapple
 
A Framework for Development in the AI Age
A Framework for Development in the AI AgeA Framework for Development in the AI Age
A Framework for Development in the AI AgeCprime
 
Connecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdfConnecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdfNeo4j
 
Decarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityDecarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityIES VE
 
Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Farhan Tariq
 
UiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to HeroUiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to HeroUiPathCommunity
 
Kuma Meshes Part I - The basics - A tutorial
Kuma Meshes Part I - The basics - A tutorialKuma Meshes Part I - The basics - A tutorial
Kuma Meshes Part I - The basics - A tutorialJoão Esperancinha
 
All These Sophisticated Attacks, Can We Really Detect Them - PDF
All These Sophisticated Attacks, Can We Really Detect Them - PDFAll These Sophisticated Attacks, Can We Really Detect Them - PDF
All These Sophisticated Attacks, Can We Really Detect Them - PDFMichael Gough
 
Accelerating Enterprise Software Engineering with Platformless
Accelerating Enterprise Software Engineering with PlatformlessAccelerating Enterprise Software Engineering with Platformless
Accelerating Enterprise Software Engineering with PlatformlessWSO2
 
Assure Ecommerce and Retail Operations Uptime with ThousandEyes
Assure Ecommerce and Retail Operations Uptime with ThousandEyesAssure Ecommerce and Retail Operations Uptime with ThousandEyes
Assure Ecommerce and Retail Operations Uptime with ThousandEyesThousandEyes
 

Dernier (20)

Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software Developers
 
Digital Tools & AI in Career Development
Digital Tools & AI in Career DevelopmentDigital Tools & AI in Career Development
Digital Tools & AI in Career Development
 
Infrared simulation and processing on Nvidia platforms
Infrared simulation and processing on Nvidia platformsInfrared simulation and processing on Nvidia platforms
Infrared simulation and processing on Nvidia platforms
 
Irene Moetsana-Moeng: Stakeholders in Cybersecurity: Collaborative Defence fo...
Irene Moetsana-Moeng: Stakeholders in Cybersecurity: Collaborative Defence fo...Irene Moetsana-Moeng: Stakeholders in Cybersecurity: Collaborative Defence fo...
Irene Moetsana-Moeng: Stakeholders in Cybersecurity: Collaborative Defence fo...
 
4. Cobus Valentine- Cybersecurity Threats and Solutions for the Public Sector
4. Cobus Valentine- Cybersecurity Threats and Solutions for the Public Sector4. Cobus Valentine- Cybersecurity Threats and Solutions for the Public Sector
4. Cobus Valentine- Cybersecurity Threats and Solutions for the Public Sector
 
2024 April Patch Tuesday
2024 April Patch Tuesday2024 April Patch Tuesday
2024 April Patch Tuesday
 
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...
 
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesHow to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
 
Transcript: New from BookNet Canada for 2024: BNC SalesData and LibraryData -...
Transcript: New from BookNet Canada for 2024: BNC SalesData and LibraryData -...Transcript: New from BookNet Canada for 2024: BNC SalesData and LibraryData -...
Transcript: New from BookNet Canada for 2024: BNC SalesData and LibraryData -...
 
Microsoft 365 Copilot: How to boost your productivity with AI – Part two: Dat...
Microsoft 365 Copilot: How to boost your productivity with AI – Part two: Dat...Microsoft 365 Copilot: How to boost your productivity with AI – Part two: Dat...
Microsoft 365 Copilot: How to boost your productivity with AI – Part two: Dat...
 
A Framework for Development in the AI Age
A Framework for Development in the AI AgeA Framework for Development in the AI Age
A Framework for Development in the AI Age
 
Connecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdfConnecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdf
 
Decarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityDecarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a reality
 
Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...
 
UiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to HeroUiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to Hero
 
Kuma Meshes Part I - The basics - A tutorial
Kuma Meshes Part I - The basics - A tutorialKuma Meshes Part I - The basics - A tutorial
Kuma Meshes Part I - The basics - A tutorial
 
All These Sophisticated Attacks, Can We Really Detect Them - PDF
All These Sophisticated Attacks, Can We Really Detect Them - PDFAll These Sophisticated Attacks, Can We Really Detect Them - PDF
All These Sophisticated Attacks, Can We Really Detect Them - PDF
 
Accelerating Enterprise Software Engineering with Platformless
Accelerating Enterprise Software Engineering with PlatformlessAccelerating Enterprise Software Engineering with Platformless
Accelerating Enterprise Software Engineering with Platformless
 
Assure Ecommerce and Retail Operations Uptime with ThousandEyes
Assure Ecommerce and Retail Operations Uptime with ThousandEyesAssure Ecommerce and Retail Operations Uptime with ThousandEyes
Assure Ecommerce and Retail Operations Uptime with ThousandEyes
 

Huawei switch configuration commands

  • 1. Huawei switch configuration commands Huawei router switch configuration commands: computer command PCAlogin:root; root users The password:linux password is Linux; #shutdown-hnow shutdown; #init0 shutdown; #logout; user logoff #login; user login #ifconfig displays the IP address; #ifconfigeth0netmask; set the IP address #ifconfigeht0netmaskdown; disable IP address #routeadd0.0.0.0gw; set the gateway #routedel0.0.0.0gw delete gateway; #routeadddefaultgw; set the gateway #routedeldefaultgw delete gateway; #route display gateway; #ping; send ECHO packets #telnet; remote login Huawei router switch configuration commands: switch command [Quidway]discur displays the current configuration; [Quidway]displaycurrent-configuration displays the current configuration; [Quidway]displayinterfaces display interface information; [Quidway]displayvlanall displays the routing information; [Quidway]displayversion; display version information [Quidway]superpassword; modify privileged user password [Quidway]sysname switch name; [Quidway]interfaceethernet0/1; into the interface view [Quidway]interfacevlanx; into the interface view [Quidway-Vlan-interfacex]ipaddress10.65.1.1255.255.0.0; VLAN IP address configuration [Quidway]iproute-static0.0.0.00.0.0.010.65.1.2; static routing = gateway [Quidway]rip; three layer exchange support [Quidway]local-userftp [Quidway]user-interfacevty04; enter virtual terminal [S3026-ui-vty0-4]authentication-modepassword; set the password mode [S3026-ui-vty0-4]setauthentication-modepasswordsimple222; set the password [S3026-ui-vty0-4]userprivilegelevel3; user level [Quidway]interfaceethernet0/1 entered the port mode; [Quidway]inte0/1 entered the port mode; [Quidway-Ethernet0/1]duplex{half|full|auto}; working state port configuration [Quidway-Ethernet0/1]speed{10|100|auto} configure the port work rate; [Quidway-Ethernet0/1]flow-control; configuration port flow control 1
  • 2. [Quidway-Ethernet0/1]mdi{across|auto|normal}; configuration port flush twisting [Quidway-Ethernet0/1]portlink-type{trunk|access|hybrid}; set the port mode [Quidway-Ethernet0/1]portaccessvlan3; add the port to VLAN [Quidway-Ethernet0/2]porttrunkpermitvlan{ID|All}; trunk VLAN allowed [Quidway-Ethernet0/3]porttrunkpvidvlan3; set the trunk port of PVID [Quidway-Ethernet0/1]undoshutdown activation port; [Quidway-Ethernet0/1]shutdown; closed port [Quidway-Ethernet0/1]quit; return Create a VLAN [Quidway]vlan3; [Quidway-vlan3]portethernet0/1; add port in VLAN [Quidway-vlan3]porte0/1 shorthand method; [Quidway-vlan3]portethernet0/1toethernet0/4; add port in VLAN [Quidway-vlan3]porte0/1toe0/4 shorthand method; [Quidway]monitor-port; designated port mirroring [Quidway]portmirror; assigned port mirroring [Quidway]portmirrorint_listobserving-portint_typeint_num; specify a mirror and mirror [Quidway]descriptionstring specifies the VLAN description character; [Quidway]description; deletion of VLAN description character Check the VLAN settings to [Quidway]displayvlan[vlan_id]; [Quidway]stp{enable|disable}; set the spanning tree, is turned off by default [Quidway]stppriority4096; set spantree priority [Quidway]stproot{primary|secondary}; set as the root or root backup [Quidway-Ethernet0/1]stpcost200; set the switch port cost [Quidway]link-aggregatione0/1toe0/4ingress|both port polymerization; [Quidway]undolink-aggregatione0/1|all; start port channel number [SwitchA-vlanx]isolate-user-vlanenable; set master VLAN [SwitchA]isolate-user-vlansecondary; set the main VLAN including VLAN [Quidway-Ethernet0/2]porthybridpvidvlan; VLAN PVID Remove VLAN PVID [Quidway-Ethernet0/2]porthybridpvid; [Quidway-Ethernet0/2]porthybridvlanvlan_id_listuntagged; set no identification VLAN If the package of vlanid is consistent with PVId, then remove the default PVID=1 VLAN information. So the PVID is set for the vlanid, set VLAN untagged. Exchange Huawei router switch configuration commands: router command [Quidway]displayversion; display version information [Quidway]displaycurrent-configuration displays the current configuration; [Quidway]displayinterfaces display interface information; [Quidway]displayiproute displays the routing information; [Quidway]sysnameaabbcc; change the host name [Quidway]superpasswrod123456; set the password [Quidway]interfaceserial0 into the interface; [Quidway-serial0]ipaddress configure the port IP address; 2
  • 3. [Quidway-serial0]undoshutdown activation port; [Quidway]link-protocolhdlc binds HDLC protocol; [Quidway]user-interfacevty04 [Quidway-ui-vty0-4]authentication-modepassword [Quidway-ui-vty0-4]setauthentication-modepasswordsimple222 [Quidway-ui-vty0-4]userprivilegelevel3 [Quidway-ui-vty0-4]quit [Quidway]debugginghdlcallserial0 display all of the information; Debugging [Quidway]debugginghdlceventserial0 event information; [Quidway]debugginghdlcpacketserial0; show the package information Huawei router switch configuration commands: static routing: [Quidway]iproute-static{interfacenumber|nexthop}[value][reject|blackhole] For example: [Quidway]iproute-static129.1.0.01610.0.0.2 [Quidway]iproute-static129.1.0.0255.255.0.010.0.0.2 [Quidway]iproute-static129.1.0.016Serial2 [Quidway]iproute-static0.0.0.00.0.0.010.0.0.2 Huawei router switch configuration commands: dynamic routing: [Quidway]rip; set dynamic routing [Quidway]ripwork is allowed to work; [Quidway]ripinput; set the entrance permit [Quidway]ripoutput; set the export permit [Quidway-rip]network1.0.0.0; set the exchange routing network [Quidway-rip]networkall; set the exchange with all network [Quidway-rip]peerip-address; [Quidway-rip]summary routing aggregation; [Quidway]ripversion1; set up work in version 1 With version 2, [Quidway]ripversion2multicast; multicast [Quidway-Ethernet0]ripsplit-horizon; horizontal partitioning [Quidway]routeridA.B.C.D; configure router ID [Quidway]ospfenable; OSPF protocol [Quidway-ospf]import-routedirect; introducing the direct route The [Quidway-Serial0]ospfenablearea configuration OSPF region; Huawei router switch configuration commands: standard access list command format is as follows: The default acl[match-orderconfig|auto]; the former sequence matching. Rule[normal|special]{permit|deny}[sourcesource-addrsource-wildcard|any] Example: [Quidway]acl10 [Quidway-acl-10]rulenormalpermitsource10.0.0.00.0.0.255 [Quidway-acl-10]rulenormaldenysourceany Huawei router switch configuration commands: extended access list configuration command 3
  • 4. Extended configuration of TCP/UDP protocol access list: Rule{normal|special}{permit|deny}{tcp|udp}source{|any}destination|any} [operate] Extended configuration of ICMP protocol access list: Rule{normal|special}{permit|deny}icmpsource{|any]destination{|any] [icmp-code][logging] Huawei router switch configuration commands: extended access control list the meaning of the operators Is equal to equalportnumber; Greater than greater-thanportnumber; Less than less-thanportnumber; Not-equalportnumber unequal; Rangeportnumber1portnumber2; interval Huawei router switch configuration commands: extended access list example [Quidway]acl101 [Quidway-acl-101]ruledenysouceanydestinationany [Quidway-acl-101]rulepermiticmpsourceanydestinationanyicmp-typeecho [Quidway-acl-101]rulepermiticmpsourceanydestinationanyicmp-typeecho-reply [Quidway]acl102 [Quidway-acl-102]rulepermitipsource10.0.0.10.0.0.0destination202.0.0.10.0.0.0 [Quidway-acl-102]ruledenyipsourceanydestinationany [Quidway]acl103 [Quidway-acl-103]rulepermittcpsourceanydestination10.0.0.10.0.0.0destinationportequalftp [Quidway-acl-103]rulepermittcpsourceanydestination10.0.0.20.0.0.0destinationportequalwww [Quidway]firewallenable [Quidway]firewalldefaultpermit|deny [Quidway]inte0 [Quidway-Ethernet0]firewallpacket-filter101inbound|outbound Huawei router switch configuration commands: address conversion configuration example [Quidway]firewallenable [Quidway]firewalldefaultpermit [Quidway]acl101; internal host can enter the E0 [Quidway-acl-101]ruledenyipsourceanydestinationany [Quidway-acl-101]rulepermitipsource129.38.1.10destinationany [Quidway-acl-101]rulepermitipsource129.38.1.20destinationany [Quidway-acl-101]rulepermitipsource129.38.1.30destinationany [Quidway-acl-101]rulepermitipsource129.38.1.40destinationany [Quidway-acl-101]quit [Quidway]inte0 4
  • 5. [Quidway-Ethernet0]firewallpacket-filter101inbound [Quidway]acl102; the external host specific and more than 1024 port packet is allowed to enter the S0 [Quidway-acl-102]ruledenyipsourceanydestinationany [Quidway-acl-102]rulepermittcpsource202.39.2.30destination202.38.160.10 [Quidway-acl-102]rulepermittcpsourceanydestination202.38.160.10destination-portgreatthan 1024 [Quidway-acl-102]quit [Quidway]ints0 [Quidway-Serial0]firewallpacket-filter102inbound; 202.38.160.1 is the router IP. [Quidway-Serial0]natoutbound101interface; Easyip, acl101 allows IP from this interface transform source address. Huawei router switch configuration commands: internal server address conversion configuration command (static NAT): Natserverglobal[port]insideport[protocol]; global_port does not write when using inside_port [Quidway-Serial0]natserverglobal202.38.160.1inside129.38.1.1ftptcp [Quidway-Serial0]natserverglobal202.38.160.1inside129.38.1.2telnettcp [Quidway-Serial0]natserverglobal202.38.160.1inside129.38.1.3wwwtcp A public IP:202.38.160.101~202.38.160.103 can use. Foreign access (the original examples); [Quidway]nataddress-group202.38.160.101202.38.160.103pool1; set up address pool [Quidway]acl1 [Quidway-acl-1]rulepermitsource10.110.10.00.0.0.255 specifies the allowable internal network; [Quidway-acl-1]ruledenysourceany [Quidway-acl-1]intserial0 Remove the IP [Quidway-Serial0]natoutbound1address-grouppool1; foreign access from the address pool in S0 port [Quidway-Serial0]natserverglobal202.38.160.101inside10.110.10.1ftptcp [Quidway-Serial0]natserverglobal202.38.160.102inside10.110.10.2wwwtcp [Quidway-Serial0]natserverglobal202.38.160.1028080inside10.110.10.3wwwtcp [Quidway-Serial0]natserverglobal202.38.160.103inside10.110.10.4smtpudp Huawei router switch configuration commands: PPP settings: [Quidway-s0]linkprotocolppp; the default protocol Huawei router switch configuration commands: PPP verification: The main prescription: pap|chap [Quidway]local-userq2password{simple|cipher}hello; router 1 [Quidway]interfaceserial0 [Quidway-serial0]pppauthentication-mode{pap|chap} 5
  • 6. [Quidway-serial0]pppchapuserq1; PAP, not this sentence Huawei routing switch configuration commands: PAP is prescription: [Quidway]interfaceserial0; router 2 [Quidway-serial0]ppppaplocal-userq2password{simple|cipher}hello Huawei router switch configuration commands: chap is prescription: [Quidway]interfaceserial0; router 2 [Quidway-serial0]pppchapuserq2; its router name [Quidway-serial0]local-userq1password{simple|cipher}hello; the other router name Frame relay frame-relay (two: 6-61) [q1]frswitching [q1]ints1 [q1-Serial1]ipaddress192.168.34.51255.255.255.0 [q1-Serial1]link-protocolfr; encapsulation frame relay protocol [q1-Serial1]frinterface-typedce [q1-Serial1]frdlci100 [q1-Serial1]frinarp [q1-Serial1]frmapip192.168.34.52dlci100 [q2]ints1 [q2-Serial1]ipaddress192.168.34.52255.255.255.0 [q2-Serial1]link-protocolfr [q2-Serial1]frinterface-typedte [q2-Serial1]frdlci100 [q2-Serial1]frinarp [q2-Serial1]frmapip192.168.34.51dlci100 Huawei router switch configuration commands: frame relay monitoring [q1]displayfrlmi-info[]interfacetypenumber] [q1]displayfrmap [q1]displayfrpvc-info[serialinterface-number][dlcidlci-number] [q1]displayfrdlci-switch [q1]displayfrinterface [q1]resetfrinarp-info [q1]debuggingfrall[interfacetypenumber] [q1]debuggingfrarp[interfacetypenumber] [q1]debuggingfrevent[interfacetypenumber] [q1]debuggingfrlmi[interfacetypenumber] Huawei router switch configuration commands: start the FTP service: [Quidway]local-userftppassword{simple|cipher}aaaservice-typeftp [Quidway]ftpserverenable 6
  • 7. More related: HUAWEI SWITCH CONFIGURATION COMMANDS HUAWEI ROUTER AND SWITCH CONFIGURATION COMMANDS ABOUT BASIC QOS POLICY FOR HUAWEI ROUTER More information 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 7