Switch User Manual

Spanning-Tree Commands 267
spanning-tree port-priority
The
spanning-tree port-priority
Interface Configuration mode command configures port priority.
To reset the default port priority, use the
no
form of this command.
Syntax
spanning-tree port-priority
priority
no spanning-tree port-priority
priority
—The port priority. (Range: 0 - 240 in multiples of 16)
Default Configuration
The default port-priority for IEEE STP is 128.
Command Modes
Interface Configuration (Ethernet, port-channel) mode
User Guidelines
There are no user guidelines for this command.
Example
The following example configures the spanning priority on g5 to 96.
spanning-tree portfast
The
spanning-tree portfast
Interface Configuration mode command enables PortFast mode. In
PortFast mode, the interface is immediately put into the forwarding state upon linkup, without
waiting for the timer to expire. To disable PortFast mode, use the
no
form of this command.
Syntax
spanning-tree portfast
no spanning-tree portfast
Default Configuration
PortFast mode is disabled.
Command Modes
Interface Configuration (Ethernet, port-channel) mode
Console(config)# interface ethernet g5
Console(config-if)# spanning-tree port-priority 96