Current location - Quotes Website - Collection of slogans - Tutorial of Common Configuration Commands for ZTE, Huawei and Fiberhome Switches
Tutorial of Common Configuration Commands for ZTE, Huawei and Fiberhome Switches
Switches work at the second layer of the OSI reference model, namely the data link layer. When each port is connected successfully, the CPU inside the switch will match the MAC address with the port to form a MAC table. Different brands of switches may have different configurations. This paper will introduce the common configuration parameters of ZTE, Huawei and Fiberhome switches in detail for your reference.

Common commands of ZXDSL82 10

Check the board type and software and hardware version number display card.

Enter dsl mode

View port status display information

Check ADSL speed touch panel display professor

Change the speed of the port application. Touch pad line cfg.

Check the line quality of ADSL port showperf.

Open ADSL port to enable.

Turn off ADSL port to disable.

Restart ADSL port reset port

Input ATM

Check PVC showvcx all under atm

ZXDSL8220 common commands

Check the board type and software and hardware version number sh card.

View adsl port status to display ADSL status.

Check adsl speed touch panel to display ADSL configuration file.

For details, please refer to the quick touch panel D3M to display adsl profile d3m.

Update the port to update the traffic information of ADSL-perfcard _ list/port _ list.

Close the ADSL port and close the interface.

Open ADSL port without shutdown interface.

Common commands of ZXDSL92 10 equipment

Check the board configuration and version number display card.

Check the device version number to show the version.

Check the ADSL port status display interface

Check the port status of the board and display adsl status slot 1

View adsl port line quality and display ADSL physics.

View adsl line touch panel type to display ADSL configuration file.

Check the configuration of ADSL profile D3M displayed on the d3m touch screen.

Input ADSL port int adsl-mpvc card/port.

Close ADSL port. Close.

Open ADSL port without turning it off.

Zhongxing SU3

View Board Status Show All Cards

View port status display port

Check the speed. The touch panel shows the adsl line profile. All.

View line quality display adsl port number option physical

Open port port number enabled

Close the port Port number is disabled.

Huawei MA 5100&; MA5 103 common commands

Save system configuration data to flash memory.

View single board status display board

Blocking port block

Non-blocking port non-blocking

Activation port activation

Close the port.

Chip reset chipset reset 0

MA5300 common commands

Save System Configuration 3 Write

View single board status display board 0

View adsl port status to display adsl port status.

View vdsl port status to display vdsl port status.

Check the alarm display alarm history all.

View board type and running status display board

View vlan shows all VLANs.

Prepare touch screen adsl line outline to add 3.

Activate port adsl Activate adsl port 3.

MA5600 common commands

Save system configuration data to flash memory.

View single board status display board 0

View all configuration information and display the running configuration.

View adsl port status to display ADSL port status.

View vdsl port status to display vdsl port status.

See xdsl Configuration Touch Screen Display adsl Line Profile All.

View vlan shows vlan all.

View Alerts Show Alert History All

Check the port status where the uplink board displays the port status.

Check the vlan number of the downstream port DisplayVLAN bound by VLAN.

Check the vlan bound to the upstream board port to display the port vlan.

Prepare touch screen adsl line contour addition.

Display interface adsl0/11

ZTE switch configuration

Personal experience: Pay attention to various user modes when using commands.

Make an ordinary switch: put 2-24 ports under VLAN 1 If ports 2-24 are isolated from each other, you can use PVLAN to delete the isolated ports.

2852s and 2826s configurations:

The command to create a VLAN is as follows:

Set vlan10enable//to create VLAN.

Set vlan10 Add Port 1-24 Untag// Add User Port in the created VLAN.

Set vlan 10 to add port 25 tag// Add a cascade port to VLAN 10, which needs to be marked. This port is the relay port.

Set the port1-24pvid1/to add to the user port of vlan 10, and the pvid is added to vlan 10. The switch user port must execute this command in the added vlan. (the default pvid is vlan 10)

Delete vlan command is as follows:

Set VLAN 10 delete port 1-24// delete user port.

Set vlan 10 Delete Port 25//Delete Cascade Port.

Set vlan10disable//delete VLAN.

Set port1-24pvid1/restores the default settings, and this command must be added, otherwise it will be displayed in the show running-config information.

Setting the information of port 1-24 pvid 10 will lead to the abnormal use of vlan users.

Enable password configuration:

ZTE> enables//to enter the global configuration mode.

Password: * * *//Enter the password to enter the global configuration mode. By default, there is no password.

The password for ZTE (CFG)# admin pass zxr 10// to enter the global configuration mode is zxr 10.

TELNET user name and password configuration (in order to facilitate equipment maintenance, it is sometimes necessary to modify the login user name or password, and the configuration is as follows:)

ZTE (CFG)# createuserzxr 10// creates a user named zxr 10.

ZTE (CFG)# log in pass zxr 10// sets the login password as zxr 10.

Zte(cfg)#show user // displays the telnet login user information and current user name.

Configure three layers of management or business address:

Configure the router///Enter the Configure Router mode.

Set the ipport 0 ip address10.20.20.1255.255.0//Set the ip address and mask of the Layer 3 interface.

Set ipport0vlan10//Layer 3 port binding vlan.

Set ipport 0 Enable// to enable the Layer 3 port.

Iproute 0.0.0.0.010.20.20.1/Set the default route to the gateway.

T40G and 5228 switch configuration:

Batch vlan creation method:

Zxr 10#vlan database

Zxr 10 (virtual local area network) # virtual local area network 10-20

This creates a continuous vlan number 10-20, which is suitable for creating VLANs in batches.

To add a user port to a vlan:

Zxr 10 (configuration) vlan 10// Enter VLAN 10.

Zxr 10 (configuration-VLAN) switchport pvidfei _11-24//Add port1-24 as user port in vlan 10, and the default mode is already access mode.

Configure the trunk cascade port (in global mode):

Interface Fei _11/enters the interface mode of the cascade port.

Switchport mode trunk /// Set the port mode to trunk.

Switch port trunking vlan10//Cascade port is bound to VLAN.

Layer 3 interface address configuration:

Interface vlan10//enters the three-layer VLAN interface mode.

Ipaddress10.20.20.1255.255.0//Configure a three-layer IP address.

28 series switch pvlan configuration:

Set the pvlan session 1 Add quarantine port1-24//Add quarantine port.

Set the PVLAN session 1 Add Promiscuos Port 25/// Add * * * shared port.

Pvlan configuration of 32 series switches:

Vlan private-map session-id1isolatefei _11-24 promise gei _ 3/1//Add isolated ports and * * * shared ports.

Huawei switch configuration

Virtual local area network 65

vlan 69

Virtual local area network 24

give up

Interface Ethernet 0/0/ 1

Port default vlan 69

Port trunking is allowed through vlan 24 69

give up

Interface Ethernet 0/0/2

Port default vlan 69

Port trunking is allowed through vlan 24 69

give up

Interface Ethernet 0/0/3

Port default vlan 69

Port trunking is allowed through vlan 24 69

give up

Interface Ethernet 0/0/4

Port default vlan 69

Port trunking is allowed through vlan 24 69

give up

Interface Ethernet 0/0/5

Port default vlan 69

Port trunking is allowed through vlan 24 69

give up

Interface Ethernet 0/0/6

Port default vlan 69

Port trunking is allowed through vlan 24 69

give up

Interface Ethernet 0/0/7

Port default vlan 69

Port trunking is allowed through vlan 24 69

give up

Interface Ethernet 0/0/8

Port default vlan 69

Port trunking is allowed through vlan 24 69

give up

Interface Ethernet 0/0/9

Port default vlan 69

Port trunking is allowed through vlan 24 69

give up

Interface Ethernet 0/0/ 10

Port default vlan 69

Port trunking is allowed through vlan 24 69

give up

Interface Ethernet 0/0/ 1 1

Port default vlan 69

Port trunking is allowed through vlan 24 69

give up

Interface Ethernet 0/0/ 12

Port default vlan 69

Port trunking is allowed through vlan 24 69

give up

Interface Ethernet 0/0/ 13

Port default vlan 69

Port trunking is allowed through vlan 24 69

give up

Interface Ethernet 0/0/ 14

Port default vlan 69

Port trunking is allowed through vlan 24 69

give up

Interface Ethernet 0/0/ 15

Port default vlan 69

Port trunking is allowed through vlan 24 69

give up

Interface Ethernet 0/0/ 16

Port default vlan 69

Port trunking is allowed through vlan 24 69

give up

Interface Ethernet 0/0/ 17

Port default vlan 69

Port trunking is allowed through vlan 24 69

give up

Interface Ethernet 0/0/ 18

Port default vlan 69

Port trunking is allowed through vlan 24 69

give up

Interface Ethernet 0/0/ 19

Port default vlan 69

Port trunking is allowed through vlan 24 69

give up

Interface Ethernet 0/0/20

Port default vlan 69

Port trunking is allowed through vlan 24 69

give up

Interface Ethernet 0/0/2 1

Port default vlan 69

Port trunking is allowed through vlan 24 69

give up

Interface Ethernet 0/0/22

Port default vlan 69

Port trunking is allowed through vlan 24 69

give up

Interface Ethernet 0/0/23

Port default vlan 69

Port trunking is allowed through vlan 24 69

give up

Interface Ethernet 0/0/24

Port default vlan 69

Port trunking is allowed through vlan 24 69

give up

Interface Gigabit Ethernet 0/0/ 1

Undo port default vlan

Port link relay

Port trunking is allowed through vlan 1 24 69

give up

Interface Vlanif65

Ip address10.14.28.62 255.255.254.0

give up

Ip routing-static 0.0.0.0.0.010.14.28.1

Interface Gigabit Ethernet 0/0/2

Undo port default vlan

Port link relay

Port trunking is allowed through vlan 1 24 69

give up

American Automobile Association

Huawei password for local users is simple. Huawei.

Local user Huawei Level 3

Flash memory of local user Huawei ftp directory:

Local user Huawei service telnet

give up

User interface icon 0

User interface vty 0 4

Authentication mode aaa

give up

give up

rescue

Delete configuration reset save

reset

Fiberhome switch configuration

S 2200 me-PAF # configuration enters configuration mode.

S2200me-PAF (configuration) # The switch specified by the host name PTN is PTN.

S2200ME-PAF (configuration) #int vlan 98 Create the management vlan 98 and enter the configuration mode of VLAN 98.

S2200me-PAF (configuration -VLAN-98) # member9- 10 tag adds management port 9 and 10 to VLAN 98.

S2200me-PAF (configuration -VLAN-98) # exits the configuration mode of VLAN 98.

S2200me-PAF (configuration) # intvlan3502 creates the service vlan3502 and enters the configuration mode of VLAN 3502.

S2200me-PAF (configuration -VLAN-3698) # member 1-8 not marked Add the port 1-8 to vlan 3502.

S2200me-PAF (configuration-VLAN-3698) # apply-as-pvid1-8make port 1-8-pvid.

S2200me-PAF (configuration-VLAN-3698) # member9- 10tagged adds 9-10 port to service VLAN 3502.

S2200me-PAF (configuration -VLAN-3698) # exits the configuration mode of VLAN 3502.

S2200ME-PAF # system enters system configuration mode.

S2200me-PAF (configuration-system) # ipaddress10.89.16.241255.255.0 The address of the configuration switch is:10.89./kloc-0.

S2200me-PAF (configuration-system) # gateway10.89.16.254 The gateway of the switch is: 10.89.0.254.

S2200me-PAF # managementvlan98 Configure vlan98 as a management vlan.

S2200ME-PAF #q exits the system configuration mode.

S2200me-PAF (configuration) # Ethernet 10 Entry port 10.

S2200me-PAF (config-eth-10) # pvid 98 connect the port10 to pvid98.

S2200me-PAF (config-eth-10) # Full duplex speed 100 forces the port10 to reach the 100 megabit rate.

S2200me-PAF (configuration -eth- 10) exits the port 10.

S2200me-PAF (configuration) # Ethernet 9 enters port 9.

S2200me-PAF (configuration -eth-9) # pvid 98 makes port 9 pvid 98.

S2200me-PAF (config-eth-9) # Full duplex speed 100 forces port 9 to be 100 megabits.

S2200me-PAF (configuration -eth- 10) exits from port 9.

S2200me-PAF (configuration) # inteth 1 entry port 1.

S2200me-PAF (config-eth-1) # pseenable opens the POE port for power supply.

S2200me-PAF (configuration -eth- 1) # Exit port 1.

S2200ME-PAF (configuration) #int eth2 enters port 2.

S2200me-PAF (config-eth-2) # pseenable opens the POE port for power supply.

And so on, which ports are plugged into AP, which ports are open, or all network ports are open. It is not necessary to configure these five lines of commands to connect the POE power module, but it is necessary not to connect the POE power module.

S2200ME-PAF#wr file saves all configurations.

Supplement: Basic usage of switch

As a basic core switch, it is used to connect multiple wired devices: The network structure is shown below, and the basic connection refers to the above method/step 1: Basic connection mode.

Used for network isolation: For some switches with good functions, you can select the network isolation mode through the mode selection switch to realize the function of network isolation. Only ordinary ports and uplink ports are allowed to communicate, and ordinary ports are isolated from each other and cannot communicate.

Besides being used as a core switch (central switch), it can also be used as an expansion switch (access switch) to expand the network.

Put it on the router and expand the network cable of the network provider (for a network with multiple IPS on one line). After the connection, different routers use different IP to connect to the public network.

Related reading: Frequently asked questions about switch hardware failure.

Power failure:

Due to unstable external power supply, aging power cord or lightning strike, the power supply is damaged or the fan stops and cannot work normally.

Due to the power supply, other parts in the machine are often damaged.

If the power indicator on the panel is green, it is normal; If the indicator light goes out, the power supply of the switch is not normal.

This kind of problem is easy to find, solve and prevent.

In view of this kind of fault, external power supply should be done first. Generally, independent power supply is provided by introducing independent power lines and installing voltage regulators to avoid the phenomenon of instantaneous voltage being too high or too low.

If conditions permit, UPS (Uninterruptible Power Supply) can be added to ensure the normal power supply of the switch. Some UPS provide voltage stabilizing function, while others do not. Pay attention to your choice.