Cisco 3560x-24p 参考指南

下载
页码 1188
 
2-815
Catalyst 3750-X and 3560-X Switch Command Reference
OL-21522-02
Chapter 2    Catalyst 3750-X and 3560-X Cisco IOS Commands
spanning-tree mode
spanning-tree mode 
Use the spanning-tree mode global configuration command on the switch stack or on a standalone 
switch 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.
spanning-tree mode {mst | pvst | rapid-pvst}
no spanning-tree mode
Syntax Description
Defaults
The default mode is PVST+.
Command Modes
Global configuration
Command History
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. All stack members run 
the same version of spanning-tree.
When you enable the MST mode, RSTP is automatically enabled.
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 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.
mst
Enable MST and Rapid Spanning Tree Protocol (RSTP) (based on IEEE 802.1s and 
IEEE 802.1w).
pvst
Enable PVST+ (based on IEEE 802.1D).
rapid-pvst
Enable rapid PVST+ (based on IEEE 802.1w).
Release
Modification
12.2(53)SE2
This command was introduced.