spanning-tree cost
This example shows how to set a path cost of 300 for VLAN 10 on an interface that is a trunk port:
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
show spanning-tree
interface-id
spanning-tree port-priority
spanning-tree vlan
Catalyst 2950 Desktop Switch Command Reference
2-248
Description
interface
Displays spanning-tree information for the specified interface.
Configures an interface priority.
priority
Sets the switch priority for the specified spanning-tree instance.
Chapter 2 Cisco IOS Commands
78-11381-05