Configuring The Device Priority Of A Vlan - Cisco Catalyst 2960-XR Configuration Manual

Layer 2
Hide thumbs Also See for Catalyst 2960-XR:
Table of Contents

Advertisement

Configuring the Device Priority of a VLAN

The show spanning-tree interface interface-id privileged EXEC command displays information only 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.
Related Topics
Port Priority Versus Path Cost, on page 18
Configuring the Device 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.
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.
This procedure is optional. Beginning in privileged EXEC mode, follow these steps to configure the switch
priority of a VLAN:
SUMMARY STEPS
1. configure terminal
2. spanning-tree vlan vlan-id priority priority
3. end
DETAILED STEPS
Command or Action
Step 1
configure terminal
Example:
Switch# configure terminal
Step 2
spanning-tree vlan vlan-id priority
priority
Example:
Switch(config)# spanning-tree vlan
20 priority 8192
Catalyst 2960-XR Switch Layer 2 Configuration Guide, Cisco IOS Release 15.0(2)EX1
34
Purpose
Enters the global configuration mode.
Configures 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.
Configuring Spanning Tree Protocol
OL-29424-01

Advertisement

Table of Contents
loading

Table of Contents