Reference Guide
Default 128
Command Mode INTERFACE
Usage Information Breaks the tie between the two bridges which compete for root bridge.
Example
OS10(conf-if-eth1/1/4)# spanning-tree vlan 10 priority 16
Supported Releases 10.2.0E or later
spanning-tree vlan root
Designates a device as primary or secondary root bridge.
Syntax
spanning-tree vlan vlan-id root {primary | secondary}
Parameters
• vlan-id — Enter a VLAN ID number (1 to 4094).
• root — Designate the bridge as primary or secondary root.
• primary — Designate the bridge as primary or root bridge.
• secondary — Designate the bridge as secondary or secondary root bridge.
Default Not congured
Command Mode CONFIGURATION
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 congured with STP and MSTP. RSTP is disabled
by default. All enabled interfaces in L2 mode are automatically added to the RSTP topology.
Conguring 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.
• Congure 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
196
Layer 2