4
Command Line Interface
show spanning-tree
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. To return to the default configuration, use the no
form of this command.
Syntax
spanning-tree priority priority
no spanning-tree priority
Parameters
• priority — Priority of the bridge. (Range: 0 - 61440 in steps of 4096)
Default Setting
The default bridge priority for IEEE Spanning Tree Protocol (STP) is 32768.
Command Modes
Global Configuration mode
Command Usage
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
Related Commands
spanning-tree forward-time
spanning-tree hello-time
spanning-tree max-age
spanning-tree disable
spanning-tree cost
spanning-tree port-priority
spanning-tree portfast
spanning-tree link-type
show spanning-tree
spanning-tree disable
The spanning-tree disable Interface Configuration mode command disables
spanning tree on a specific port. To enable spanning tree on a port, use the no form
of this command.
556