
19-106
19.1.18 spanning-tree mode
Command:
spanning-tree mode {mstp | stp | rstp}
no spanning-tree mode
Function:
Set the spanning-
tree mode in the switch; the command “
no spanning-tree mode
” restores the default setting.
Parameter:
mstp sets the switch in IEEE802.1s MSTP mode; stp sets the switch in IEEE802.1D STP mode; rstp sets the switch
in IEEE802.1D RSTP mode.
Command mode:
Global Mode
Default:
The switch is in the MSTP mode by default.
Usage Guide:
When the switch is in IEEE802.1D STP mode, it only sends standard IEEE802.1D BPDU and TCN BPDU. It drops
any MSTP BPDUs.
Example:
Set the switch in the STP mode.
Switch(config)#spanning-tree mode stp
19.1.19 spanning-tree mst configuration
Command:
spanning-tree mst configuration
no spanning-tree mst configuration
Function:
Enter the MSTP mode. Under the MSTP mode, the MSTP attributes can be set. The command “
no spanning-tree
mst configuration
” restores the attributes of the MSTP to their default values.