hit counter script

Configuring The Switch Priority Of A Vlan - Cisco Catalyst 2960 Software Configuration Manual

Hide thumbs Also See for Catalyst 2960:
Table of Contents

Advertisement

Chapter 16
Configuring STP
The show spanning-tree interface interface-id privileged EXEC command displays information only
Note
for ports that are in a link-up operative state. Otherwise, you can use the show running-config privileged
EXEC command to confirm the configuration.
To return to the default setting, use the no spanning-tree [vlan vlan-id] cost interface configuration
command. For information on how to configure load sharing on trunk ports by using spanning-tree path
costs, see the

Configuring the Switch Priority of a VLAN

You can configure the switch priority and make it more likely that a standalone switch or a switch in the
stack will be chosen as the root switch.
Exercise care when using this command. For most situations, we recommend that you use the
Note
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 switch priority of a VLAN. This
procedure is optional.
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
Step 5
copy running-config startup-config
To return to the default setting, use the no spanning-tree vlan vlan-id priority global configuration
command.
OL-26520-01
"Configuring Trunk Ports for Load Sharing" section on page
Catalyst 2960 and 2960-S Switches Software Configuration Guide, Release 15.0(1)SE
Purpose
Enter global configuration mode.
Configure the switch priority of a VLAN.
For vlan-id, you can specify a single VLAN identified by
VLAN ID number, a range of VLANs separated by a
hyphen, or a series of VLANs separated by a comma. The
range is 1 to 4094.
For priority, the range is 0 to 61440 in increments of
4096; the default is 32768. The lower the number, the
more likely the switch will be chosen as the root switch.
Valid priority values are 4096, 8192, 12288, 16384,
20480, 24576, 28672, 32768, 36864, 40960, 45056,
49152, 53248, 57344, and 61440. All other values are
rejected.
Return to privileged EXEC mode.
Verify your entries.
(Optional) Save your entries in the configuration file.
Configuring Spanning-Tree Features
13-20.
16-21

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 2960-s

Table of Contents