spanning-tree mode
spanning-tree mode
Use the spanning-tree mode global configuration command to enable either per-VLAN spanning-tree
(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
Defaults
The default mode is PVST.
Command Modes
Global configuration
Command History
Release
12.1(9)EA1
Usage Guidelines
You cannot run both PVST and MST at the same time.
Caution
Changing spanning-tree modes can disrupt traffic because all spanning-tree instances are stopped for
the previous mode and restarted in the new mode.
Examples
This example shows to enable MST on the switch:
Switch(config)# spanning-tree mode mst
You can verify your setting by entering the show running-config privileged EXEC command.
Related Commands
Command
show running-config
Catalyst 2950 Desktop Switch Command Reference
2-256
spanning-tree mode {mst | pvst}
no spanning-tree mode
Enable MST. This keyword is available only if your switch is running the enhanced
software image (EI).
Enable PVST.
Modification
This command was first introduced.
Description
Displays the current operating configuration. For syntax information,
select Cisco IOS Configuration Fundamentals Command Reference for
Release 12.1 > Cisco IOS File Management Commands > Configuration
File Commands.
Chapter 2 Cisco IOS Commands
78-11381-05