6-45
Catalyst 2900 Series XL and Catalyst 3500 Series XL Software Configuration Guide
78-6511-08
Chapter 6 Configuring the System
Configuring STP
Changing the Path Cost
Beginning in privileged EXEC mode, follow these steps to change the path cost for STP calculations.
The STP command applies to the stp-list.
Changing the Port Priority
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.
Command
Purpose
Step 1
configure terminal
Enter global configuration mode.
Step 2
interface interface
Enter interface configuration mode, and enter the port to be configured.
Step 3
spanning-tree [vlan stp-list] cost
cost
Configure the path cost for the specified spanning-tree instance.
Enter a number from 1 to 65535.
Step 4
end
Return to privileged EXEC mode.
Step 5
show running-config
Verify your entry.
Command
Purpose
Step 1
configure terminal
Enter global configuration mode.
Step 2
interface interface
Enter interface configuration mode, and enter the port to be configured.
Step 3
spanning-tree [vlan stp-list]
port-priority port-priority
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.
Step 4
end
Return to privileged EXEC mode.
Step 5
show running-config
Verify your entry.