This section describes how to configure a password for a Huawei switch and how to configure a password for a Huawei switch. How to adjust a port ID and modify an STP clock is as the name suggests, and how to configure a password for a Huawei switch, this section also describes how to use show vtp statistics to display the VTP Parameters of the management domain.
Adjust the port ID on the configuration password of the Huawei switch based on IOS:
Switch (config-if) # spanning-tree [vlan-list] port-priority
Adjust the port ID on the CLI-based switch:
Switch (enable) set spantree portpri {mldule/port} priority
Switch (enable) set spantree portvlanpri {module/port} priority [vlans]
Modify the STP clock on the configuration password of the Huawei switch based on IOS:
Switch (config) # spanning-tree [vlan-list] hello-time seconds
Switch (config) # spanning-tree [vlan-list] forward-time seconds
Switch (config) # spanning-tree [vlan-list] max-age seconds
Modify the STP clock on a CLI-based switch:
Switch (enable) set spantree hello interval [vlan]
Switch (enable) set spantree fwddelay delay [vlan]
Switch (enable) set spantree maxage agingtiame [vlan]
Enable or disable Port Fast on the password Port of the IOS-based Huawei switch:
Switch (config-if) # spanning-tree portfast
Enable or disable the Port Fast feature on the CLI-based Switch Port:
Switch (enable) set spantree portfast {module/port} {enable | disable}
Enable or disable UplinkFast on the password port of the IOS-based Huawei switch:
Switch (config) # spanning-tree uplinkfast [max-update-rate pkts-per-second]
Enable or disable UplinkFast features on CLI-based switch ports:
Switch (enable) set spantree uplinkfast {enable | disable} [rate update-rate] [all-protocols off | on]
To configure a switch as a command switch for a cluster, you must first assign an IP address to the management interface and then use the following command:
Switch (config) # cluster enable cluster-name
To delete a VLAN from a relay link, you can use the following command to configure a password for a Huawei switch:
Switch (enable) clear trunk module/port vlan-range
Use show vtp domain to display the VTP Parameters of the management domain.
Use show vtp statistics to display the VTP Parameters of the management domain.
The command for defining the TrBRF on the Catalyst Huawei Switch configuration password is as follows:
Switch (enable) set vlan-name [name] type trbrf bridge-num [stp {ieee | ibm}]
The command to define TrCRF on the Catalyst Huawei Switch configuration password is as follows:
Switch (enable) set vlan-num [name] type trcrf
{Ring hex-ring-num | decring decimal-ring-num} parent vlan-num
After creating a TrBRF VLAN, you can assign it a switch port. For Ethernet Switching, you can use the following command to allocate a port to the VLAN:
Switch (enable) set vlan-num mod-num/port-num
Command show spantree to display the stp status of a Huawei switch configured with a password port.
To configure an elan les and BUS, run the following command:
ATM (config) # interface atm number. subint multioint
ATM (config-subif) # lane serber-bus ethernet elan-name