Example
The following example configures the spanning tree bridge maximum-age to 10 seconds.
Console(config)# spanning-tree max-age 10
spanning-tree priority
The spanning-tree priority Global Configuration mode command configures the spanning tree priority of the
device. The priority value is used to determine which bridge is elected as the root bridge. Use the no form of this
command to return to the default configuration.
Syntax
spanning-tree priority priority
no spanning-tree priority
Parameters
•
priority — Priority of the bridge. (Range: 0 - 61440 in steps of 4096)
Default Configuration
The default bridge priority for IEEE Spanning Tree Protocol (STP) is 32768.
Command Modes
Global Configuration mode
User Guidelines
The bridge with the lowest priority is elected as the root bridge.
Example
The following example configures spanning tree priority to 12288.
Console(config)# spanning-tree priority 12288
spanning-tree disable
The spanning-tree disable Interface Configuration mode command disables spanning tree on a specific port.
Use the no form of this command to enable spanning tree on a port.
Syntax
spanning-tree disable
no spanning-tree disable
Default Configuration
Spanning tree is enabled on all ports.
Command Modes
Interface Configuration (Ethernet, port-channel) mode
Page 203
Spanning-Tree Commands