spanning-tree mode
spanning-tree mode
Use the spanning-tree mode global configuration command to enable per-VLAN spanning-tree plus
(PVST+), rapid PVST+, or multiple spanning tree (MST) on your switch. Use the no form of this
command to return to the default setting.
Syntax Description
mst
pvst
rapid-pvst
Defaults
The default mode is PVST+.
Command Modes
Global configuration
Command History
Release
12.2(25)FX
Usage Guidelines
The switch supports PVST+, rapid PVST+, and MSTP, but only one version can be active at any time:
All VLANs run PVST+, all VLANs run rapid PVST+, or all VLANs run MSTP.
When you enable the MST mode, RSTP is automatically enabled.
Changing spanning-tree modes can disrupt traffic because all spanning-tree instances are stopped for the
Caution
previous mode and restarted in the new mode.
Examples
This example shows to enable MST and RSTP on the switch:
Switch(config)# spanning-tree mode mst
This example shows to enable rapid PVST+ on the switch:
Switch(config)# spanning-tree mode rapid-pvst
You can verify your setting by entering the show running-config privileged EXEC command.
Catalyst 2960 Switch Command Reference
2-658
spanning-tree mode {mst | pvst | rapid-pvst}
no spanning-tree mode
Enable MST and Rapid Spanning Tree Protocol (RSTP) (based on IEEE 802.1s and
IEEE 802.1w).
Enable PVST+ (based on IEEE 802.1D).
Enable rapid PVST+ (based on IEEE 802.1w).
Modification
This command was introduced.
Chapter 2 Catalyst 3750 Switch Cisco IOS Commands
OL-8604-03