Specifications

2-269
Catalyst 2950 and Catalyst 2955 Switch Command Reference
78-15304-01
Chapter 2 Cisco IOS Commands
spanning-tree cost
Examples This example shows how to set a path cost of 250 on an interface:
Switch(config)# interface fastethernet0/4
Switch(config-if)# spanning-tree cost 250
This example shows how to set a path cost of 300 for VLAN 10:
Switch(config-if)# spanning-tree vlan 10 cost 300
You can verify your settings by entering the show spanning-tree interface interface-id privileged
EXEC command.
Related Commands Command Description
show spanning-tree interface
interface-id
Displays spanning-tree information for the specified interface.
spanning-tree port-priority Configures an interface priority.
spanning-tree vlan priority Sets the switch priority for the specified spanning-tree instance.