Command Manual - STP
Quidway S6500 Series Ethernet Switches Chapter 1 MSTP Configuration Commands
Huawei Technologies Proprietary
1-9
1.1.9 stp
Syntax
stp { enable | disable }
undo stp
View
System view, Ethernet port view
Parameter
enable: Enables global or port MSTP.
disable: Disables global or port MSTP.
Description
Using stp command, you can enable or disable MSTP on a device or a port. Using
undo stp command, you can restore the default MSTP state on a device or a port.
By default, MSTP is disabled on the switch.
After MSTP is enabled, the switch determines to run MSTP in STP-compatible mode or
MSTP mode per your configurations. The switch serves as a transparent bridge after
MSTP is disabled.
By default, the MSTP on the switch is disabled, to enable it, you must enable the MSTP
globally.
After MSTP is enabled, it will dynamically maintain the spanning tree state of the
corresponding VLAN according to the received configuration BPDU until it is disabled.
For the related command, see stp mode, stp interface.
Example
# Enable MSTP globally.
[Quidway] stp enable
# Disable MSTP on Ethernet2/1/1.
[Quidway-Ethernet2/1/1] stp disable
1.1.10 stp bpdu-protection
Syntax
stp bpdu-protection
undo stp bpdu-protection