Cisco Systems 2960 Model Vehicle User Manual


  Open as PDF
of 1004
 
17-24
Catalyst 2960 and 2960-S Switch Software Configuration Guide
OL-8603-09
Chapter 17 Configuring MSTP
Configuring MSTP Features
Configuring the Switch Priority
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.
Note Stacking is supported only on Catalyst 2960-S switches running the LAN base image.
Note Exercise care when using this command. For most situations, we recommend that you use the
spanning-tree mst instance-id root primary and the spanning-tree mst instance-id root secondary
global configuration commands to modify the switch priority.
Beginning in privileged EXEC mode, follow these steps to configure the switch priority. This procedure
is optional.
To return the switch to its default setting, use the no spanning-tree mst instance-id priority global
configuration command.
Command Purpose
Step 1
configure terminal Enter global configuration mode.
Step 2
spanning-tree mst instance-id priority priority Configure the switch priority.
For instance-id, you can specify a single instance, a
range of instances separated by a hyphen, or a series of
instances separated by a comma. The range is 0 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.
Priority values are 0, 4096, 8192, 12288, 16384, 20480,
24576, 28672, 32768, 36864, 40960, 45056, 49152,
53248, 57344, and 61440. All other values are rejected.
Step 3
end Return to privileged EXEC mode.
Step 4
show spanning-tree mst instance-id Verify your entries.
Step 5
copy running-config startup-config (Optional) Save your entries in the configuration file.