Configuring Basic STP Features
To return the interface to its default setting, use the no spanning-tree cost interface configuration or the
no spanning-tree vlan vlan-id cost interface configuration command.
For information on how to configure load sharing on trunk ports using STP path costs, see the
Sharing Using STP" section on page
Configuring the Switch Priority of a VLAN
You can configure the switch priority and make it more likely that the switch will be chosen as the root
switch.
Note
Exercise care when using this command. For most situations, we recommend that you use the
spanning-tree vlan vlan-id root primary and the spanning-tree vlan vlan-id root secondary global
configuration commands to modify the switch priority.
Beginning in privileged EXEC mode, follow these steps to configure the STP switch priority of a VLAN:
Command
Step 1
configure terminal
Step 2
spanning-tree vlan vlan-id priority priority
Step 3
end
Step 4
show spanning-tree vlan vlan-id bridge [brief]
Step 5
copy running-config startup-config
To return the switch to its default setting, use the no spanning-tree vlan vlan-id priority global
configuration command.
Catalyst 2950 Desktop Switch Software Configuration Guide
9-26
8-24.
Purpose
Enter global configuration mode.
Configure the switch priority of a VLAN.
The lower the number, the more likely the switch will be
chosen as the root switch.
For vlan-id, the range is 1 to 1005. Do not enter leading
zeroes.
For priority, the range is 0 to 65535; the default is 32768.
Return to privileged EXEC mode.
Verify your entries.
(Optional) Save your entries in the configuration file.
Chapter 9
Configuring STP
"Load
78-11380-03