Connectivity Guide

spanning-tree mode
Enables an STP type: RSTP, Rapid-PVST+, or MST.
Syntax
spanning-tree mode {rstp | mst | rapid-pvst}
Parameters
rstp — Sets STP mode to RSTP.
mst — Sets STP mode to MST.
rapid-pvst — Sets STP mode to RPVST+.
Default RPVST+
Command Mode CONFIGURATION
Usage Information All STP instances stop in the previous STP mode, and restart in the new mode. You can also change to RSTP/MST
mode.
Example (RSTP)
OS10(config)# spanning-tree mode rstp
Example (MST)
OS10(config)# spanning-tree mode mst
Supported Releases 10.2.0E or later
spanning-tree mst
Congures an MST instance and determines root and bridge priorities.
Syntax
spanning-tree mst instance number priority | root {primary | secondary}
Parameters
instance number — Enter an MST instance number, from 0 to 63.
priority priority value — Set a bridge priority value in increments of 4096, from 0 to 61440. Valid
priority values are: 0, 4096, 8192, 12288, 16384, 20480, 24576, 28672, 32768, 36864, 40960, 45056, 49152,
53248, 57344, and 61440. All other values are rejected.
root — Enter a primary or secondary root.
primary — Enter a device as a primary root.
secondary — Enter a device as a secondary root.
Default Not congured
Command Mode CONFIGURATION
Usage Information The MSTP determines the root bridge but you can assign one bridge a lower priority to increase the probability it
being the root bridge. A lower priority-value increases the probability of the bridge becoming a root bridge.
The no version of this command resets the value to the default.
Example
OS10(config)# spanning-tree mst 0 priority 0
OS10(config)# spanning-tree mst 2 root primary
Supported Releases 10.2.0E or later
332 Layer 2