Chapter 6
Configuring the System
Changing the Path Cost
Command
Step 1
configure terminal
Step 2
interface interface
Step 3
spanning-tree [vlan stp-list]
cost cost
Step 4
end
Step 5
show running-config
Changing the Port Priority
Command
Step 1
configure terminal
Step 2
interface interface
Step 3
spanning-tree [vlan stp-list]
port-priority port-priority
Step 4
end
Step 5
show running-config
78-6511-05
Beginning in privileged EXEC mode, follow these steps to change the path cost
for STP calculations. The STP command applies to the stp-list.
Purpose
Enter global configuration mode.
Enter interface configuration mode, and enter the port to be
configured.
Configure the path cost for the specified spanning-tree
instance.
Enter a number from 1 to 65535.
Return to privileged EXEC mode.
Verify your entry.
Beginning in privileged EXEC mode, follow these steps to change the port
priority, which is used when two switches tie for position as the root switch. The
stp-list is the list of VLANs to which the STP command applies.
Purpose
Enter global configuration mode.
Enter interface configuration mode, and enter the port to be
configured.
Configure the port priority for a specified instance of STP.
Enter a number from 0 to 255. The lower the number, the
higher the priority.
Return to privileged EXEC mode.
Verify your entry.
Catalyst 2900 Series XL and Catalyst 3500 Series XL Software Configuration Guide
Configuring STP
6-43