Spanning Tree Commands 757
Example
The following example enables Portfast mode on all access ports.
console(config)#spanning-tree portfast default
spanning-tree port-priority
Use the spanning-tree port-priority command in Interface Configuration
mode to configure 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)
Default Configuration
The default port-priority for IEEE STP is 128.
Command Mode
Interface Configuration (gigabitethernet, port-channel, tengigabitethernet)
mode
User Guidelines
The priority value must be a multiple of 16.
Example
The following example configures the spanning priority on 1/0/5 to 96.
console(config)#interface gigabitethernet 1/0/5
console(config-if-1/0/5)#spanning-tree port-priority
96
2CSPC4.XCT-SWUM2XX1.book Page 757 Monday, October 3, 2011 11:05 AM