spanning-tree mode
To switch between per-VLAN Spanning Tree+ (PVST+), Rapid-PVST+, and Multiple Spanning Tree (MST)
modes, use the spanning-tree mode command in global configuration mode. To return to the default settings,
use the no form of this command.
spanning-tree mode {pvst| mst| rapid-pvst}
no spanning-tree mode
Syntax Description
Enables PVST+ mode.pvst
Enables MST mode.mst
Enables Rapid-PVST+ mode.rapid-pvst
Command Default
The default mode is PVST+.
Command Modes
Global configuration
Command History
ModificationRelease
This command was introduced.Cisco IOS 15.0(2)EX
Usage Guidelines
Only one mode can be active at a time.
All stack members run the same spanning-tree mode.
Be careful when using the spanning-tree mode command to switch between PVST+, Rapid-PVST+, and
MST modes. When you enter the command, all spanning-tree instances are stopped for the previous mode
and are restarted in the new mode. Using this command may cause disruption of user traffic.
Caution
Examples
This example shows how to enable MST mode:
Switch(config)# spanning-tree mode mst
This example shows how to return to the default mode (PVST+):
Switch(config)# no spanning-tree mode
Catalyst 2960-X Switch Layer 2 Command Reference, Cisco IOS Release 15.0(2)EX
90 OL-29043 -01
Layer 2 Commands
spanning-tree mode