Switch User Manual

Spanning-Tree Commands 265
Example
The following example configures the spanning-tree bridge maximum-age to 10 seconds.
spanning-tree priority
The
spanning-tree priority
Global Configuration mode command configures the spanning-tree
priority. The priority value is used to determine which bridge is elected as the root bridge. To reset
the default spanning-tree priority use the
no
form of this command.
Syntax
spanning-tree priority
priority
no spanning-tree priority
priority
—Priority of the bridge. (Range: 0 - 65535 in steps of 4096)
Default Configuration
The default bridge priority for IEEE STP is 32768.
Command Modes
Global Configuration mode
User Guidelines
The priority value must be a multiple of 4096.
The bridge with the lowest priority is elected to be the Root Bridge.
Example
The following example configures spanning-tree priority to 12288.
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.
Syntax
spanning-tree disable
no spanning-tree disable
Default Configuration
By default, all ports are enabled for spanning-tree.
Console(config)# spanning-tree max-age 10
Console(config)# spanning-tree priority 12288