Reference Guide

Usage Information None
Example
OS10(config)# spanning-tree vlan 1 root primary
Supported Releases 10.2.0E or later
Rapid spanning-tree protocol
RSTP is similar to STP but provides faster convergence and interoperability with devices congured with STP and MSTP. RSTP is disabled
by default. All enabled interfaces in L2 mode are automatically added to the RSTP topology.
Conguring RSTP is a two-step process:
1 Ensure that the interfaces are in L2 mode.
2 Globally enable RSTP.
Enable globally
RSTP enables STP on all physical and port-channel interfaces which are in L2 mode to automatically include the interfaces as part of the
RSTP topology. Only one path from any bridge to any other bridge is enabled. Bridges block a redundant path by disabling one of the link
ports.
Congure spanning-tree mode to RSTP in CONFIGURATION mode.
spanning-tree mode rstp
Disable RSTP globally for all L2 interfaces in CONFIGURATION mode.
spanning-tree disable
Remove an interface from the RSTP topology in INTERFACE mode.
spanning-tree disable
Re-enable an interface in INTERFACE mode.
no spanning-tree disable
Re-enable RSTP globally for all L2 interfaces in CONFIGURATION mode.
no spanning-tree disable
226
Layer 2