spanning-tree port-priority
Examples
Related Commands
Catalyst 3750-X and 3560-X Switch Command Reference
2-832
Downloaded from
www.Manualslib.com
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 gigabitethernet2/0/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.
Command
show spanning-tree
interface
interface-id
spanning-tree cost
spanning-tree vlan
priority
manuals search engine
Chapter 2 Catalyst 3750-X and 3560-X Cisco IOS Commands
Description
Displays spanning-tree information for the specified interface.
Sets the path cost for spanning-tree calculations.
Sets the switch priority for the specified spanning-tree instance.
OL-21522-02