Configure Working Mode of a Spanning Tree
The working mode of a spanning tree determines the mode in which devices run and determines the encapsulation format of BPDU packets that are sent out. If a port that works in the MSTP mode is found to be connected to a device that runs RSTP, the port automatically migrates to the RSTP mode. If a port that works in the MSTP mode or MSTP mode is found to be connected to a device that runs STP, the port automatically migrates to the STP compatible mode.
Configuration Condition
None
Configure the Working Mode of a Spanning Tree
Table 9-22 Configuring the Working Mode of a Spanning Tree
Step
|
Command
|
Description
|
Enter the global configuration mode.
|
configure terminal
|
-
|
Configure the working mode of a spanning tree.
|
spanning-tree mode { stp | rstp | mstp | vist | rapid- vist}
|
Mandatory.
By default, the working mode of a spanning tree is MSTP.
|