spanning-tree port-priority
Examples
This example shows how to increase the likelihood that a port will be put in the forwarding state if a
loop occurs:
Switch(config)# interface gigabitethernet0/2
Switch(config-if)# spanning-tree vlan 20 port-priority 0
This example shows how to set the port-priority value on VLANs 20 to 25:
Switch(config-if)# spanning-tree vlan 20-25 port-priority 0
You can verify your settings by entering the show spanning-tree interface interface-id privileged
EXEC command.
Related Commands
Command
show spanning-tree
interface-id
spanning-tree cost
spanning-tree vlan
Catalyst 2960 Switch Command Reference
2-676
Description
interface
Displays spanning-tree information for the specified interface.
Sets the path cost for spanning-tree calculations.
priority
Sets the switch priority for the specified spanning-tree instance.
Chapter 2 Catalyst 3750 Switch Cisco IOS Commands
OL-8604-03