Changing The Path Cost; Changing The Port Priority - Cisco WS-C2950-24 Configuration Manual

Software configuration guide
Hide thumbs Also See for WS-C2950-24:
Table of Contents

Advertisement

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

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ws-c2960g-8tc-l

Table of Contents