2-446
Catalyst4500 Series SwitchCiscoIOS Command Reference—Release 12.2(18)EW
78-16201-01
Chapter2Cisco IOS Commands for the Catalyst 4500 Series Switches
spanning-tree port-priority
spanning-tree port-priority
To prioritize an interface when two bridges compete for position as the root bridge, use the
spanning-tree port-priority command. The priority you set breaks the tie. To revert to the default
setting, use the no form of this command.
spanning-tree port-priority port_priority
no spanning-tree port-priority
Syntax Description
Defaults Port priority value is set to 128.
Command Modes Interface configuration
Command History
Examples This example shows how to increase the possibility that the spanning tree instance 20 will be chosen as
the root-bridge on interface FastEthernet 2/1:
Switch(config-if)# spanning-tree port-priority 0
Switch(config-if)#
Related Commands spanning-tree cost
spanning-tree portfast default
spanning-tree portfast (interface configuration mode)
spanning-tree uplinkfast
spanning-tree vlan
show spanning-tree
port_priority Port priority; valid values are from 0 to 240 in increments of 16.
Release Modification
12.1(8a)EW Support for this command was introduced on the Catalyst 4500 series switch.