SlideShare uma empresa Scribd logo
1 de 7
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

Mais conteúdo relacionado

Mais procurados

Ccna Commands In 10 Minutes
Ccna Commands In 10 MinutesCcna Commands In 10 Minutes
Ccna Commands In 10 MinutesCCNAResources
 
Cisco router command configuration overview
Cisco router command configuration overviewCisco router command configuration overview
Cisco router command configuration overview3Anetwork com
 
Ncat ccna cheat sheet
Ncat ccna cheat sheetNcat ccna cheat sheet
Ncat ccna cheat sheetEZREIG OMAR
 
IOS Cisco - Cheat sheets
IOS Cisco - Cheat sheetsIOS Cisco - Cheat sheets
IOS Cisco - Cheat sheetsAlejandro Marin
 
CCNA-LAB-GUIDE-V3_LAST-ADDITION (4).pdf
CCNA-LAB-GUIDE-V3_LAST-ADDITION (4).pdfCCNA-LAB-GUIDE-V3_LAST-ADDITION (4).pdf
CCNA-LAB-GUIDE-V3_LAST-ADDITION (4).pdfpoojaswami31
 
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
 
Vlan lab
Vlan labVlan lab
Vlan labtmim8
 
List of usernames and passwords for Huawei routers
List of usernames and passwords for Huawei routersList of usernames and passwords for Huawei routers
List of usernames and passwords for Huawei routersHuanetwork
 
OpenvSwitch Deep Dive
OpenvSwitch Deep DiveOpenvSwitch Deep Dive
OpenvSwitch Deep Diverajdeep
 
Huawei Switch S5700 How To - Configuring single-tag vlan mapping
Huawei Switch S5700  How To - Configuring single-tag vlan mappingHuawei Switch S5700  How To - Configuring single-tag vlan mapping
Huawei Switch S5700 How To - Configuring single-tag vlan mappingIPMAX s.r.l.
 
Cisco router basic
Cisco router basicCisco router basic
Cisco router basicTapan Khilar
 
Juniper Srx quickstart-12.1r3
Juniper Srx quickstart-12.1r3Juniper Srx quickstart-12.1r3
Juniper Srx quickstart-12.1r3Mohamed Al-Natour
 
Free CCNP switching workbook by networkershome pdf
Free CCNP switching workbook by networkershome pdfFree CCNP switching workbook by networkershome pdf
Free CCNP switching workbook by networkershome pdfNetworkershome
 

Mais procurados (20)

Comandos huawei-prof
Comandos huawei-profComandos huawei-prof
Comandos huawei-prof
 
Ccna Commands In 10 Minutes
Ccna Commands In 10 MinutesCcna Commands In 10 Minutes
Ccna Commands In 10 Minutes
 
Useful cli commands v1
Useful cli commands v1Useful cli commands v1
Useful cli commands v1
 
Cisco router command configuration overview
Cisco router command configuration overviewCisco router command configuration overview
Cisco router command configuration overview
 
Cisco Commands
Cisco CommandsCisco Commands
Cisco Commands
 
Ncat ccna cheat sheet
Ncat ccna cheat sheetNcat ccna cheat sheet
Ncat ccna cheat sheet
 
IOS Cisco - Cheat sheets
IOS Cisco - Cheat sheetsIOS Cisco - Cheat sheets
IOS Cisco - Cheat sheets
 
CCNA-LAB-GUIDE-V3_LAST-ADDITION (4).pdf
CCNA-LAB-GUIDE-V3_LAST-ADDITION (4).pdfCCNA-LAB-GUIDE-V3_LAST-ADDITION (4).pdf
CCNA-LAB-GUIDE-V3_LAST-ADDITION (4).pdf
 
ccna cheat_sheet
ccna cheat_sheetccna cheat_sheet
ccna cheat_sheet
 
Router commands
Router commandsRouter commands
Router commands
 
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
 
Vlan lab
Vlan labVlan lab
Vlan lab
 
List of usernames and passwords for Huawei routers
List of usernames and passwords for Huawei routersList of usernames and passwords for Huawei routers
List of usernames and passwords for Huawei routers
 
OpenvSwitch Deep Dive
OpenvSwitch Deep DiveOpenvSwitch Deep Dive
OpenvSwitch Deep Dive
 
Lab huawei2
Lab huawei2Lab huawei2
Lab huawei2
 
Huawei Switch S5700 How To - Configuring single-tag vlan mapping
Huawei Switch S5700  How To - Configuring single-tag vlan mappingHuawei Switch S5700  How To - Configuring single-tag vlan mapping
Huawei Switch S5700 How To - Configuring single-tag vlan mapping
 
Cisco router basic
Cisco router basicCisco router basic
Cisco router basic
 
Juniper Srx quickstart-12.1r3
Juniper Srx quickstart-12.1r3Juniper Srx quickstart-12.1r3
Juniper Srx quickstart-12.1r3
 
Free CCNP switching workbook by networkershome pdf
Free CCNP switching workbook by networkershome pdfFree CCNP switching workbook by networkershome pdf
Free CCNP switching workbook by networkershome pdf
 

Semelhante a Huawei switch configuration commands

labffbhhhhjjjjjjjjj bnbbnv material.pptx
labffbhhhhjjjjjjjjj bnbbnv material.pptxlabffbhhhhjjjjjjjjj bnbbnv material.pptx
labffbhhhhjjjjjjjjj bnbbnv material.pptxBinyamBekeleMoges
 
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
 

Semelhante a Huawei switch configuration commands (20)

labffbhhhhjjjjjjjjj bnbbnv material.pptx
labffbhhhhjjjjjjjjj bnbbnv material.pptxlabffbhhhhjjjjjjjjj bnbbnv material.pptx
labffbhhhhjjjjjjjjj bnbbnv material.pptx
 
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
 

Mais 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
 

Mais 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
 

Último

Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
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 2024The Digital Insurer
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 

Último (20)

Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
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
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 

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