Administrator Guide

Layer 2 Switching Commands 777
Syntax
spanning-tree priority priority
no spanning-tree priority
priority — Priority of the bridge. (Range: 0–61440)
Default Configuration
The default bridge priority for IEEE STP is 32768.
Command Mode
Global Configuration mode
User Guidelines
The priority value must be a multiple of 4096.
The switch with the lowest priority is the root of the spanning tree.
Bridge priority configuration is given preference over root primary/secondary
configuration. Root primary/secondary configuration is given preference over
DRC configuration.
Example
The following example configures spanning-tree priority to 12288.
console(config)#spanning-tree priority 12288
spanning-tree tcnguard
Use the spanning-tree tcnguard command to prevent a port from propagating
topology change notifications. Use the “no” form of the command to enable
TCN propagation.
Syntax
spanning-tree tcnguard
no spanning-tree tcnguard
Default Configuration
TCN propagation is disabled by default.