Specifications
2-827
Catalyst 4500 Se ries S wit ch C is co IO S C om mand R efer ence —Re lease I OS XE 3 .3.0 XO(1 5.1 (1)XO)
OL_28738 -01
Chapter 2 Cisco 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 resolves the conflict. 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 configur ation mode
Examples This example shows how to increase the po ssibility that the spanning-tree instance 20 w ill be chosen as
the root-bridge on interface FastEt hernet 2/1:
Switch(config-if)# spanning-tree port-priority 0
Switch(config-if)#
Related Commands
port_priority Port priority; valid values are from 0 to 240 in increments of 16.
Command Description
spanning-tree cost Calculates the path cost of STP on an interface.
spanning-tree portfast default Enables PortFast by default on all access ports.
spanning- tree po rtfast (i nter face
configuration mode)
Enables PortFast mode.
spanning-tree uplinkfast Enables the UplinkFast feature.
spanning-tree vlan Config ures STP on a per-VLAN basis .
show spanning-tree Displays spanning-tree state information.