Administrator Guide

Layer 2 Switching Commands 785
User Guidelines
This command can be configured even if the switch is configured for MST
(RSTP) mode. It is only used when the switch is configured for STP-PV or
RSTP-PV modes.
The logic sets the bridge priority to a value lower (primary) or next lower
(secondary) than the lowest bridge priority for the specified VLAN or a range
of VLANs. This command only applies when STP-PV or RSTP-PV is enabled.
Configuration of the bridge priority is given preference over configuration of
the root primary or root secondary configuration, which is given preference
over the configuration of DirectLink Rapid Convergence.
Example
console(config)#spanning-tree vlan 3 root primary
spanning-tree vlan priority
Use the spanning-tree vlan priority command to configure the bridge priority
of a VLAN. The bridge priority is combined with the MAC address of the
switch and is used to select the root bridge for the VLAN. Use the no form of
the command to return the priority to the default value.
Syntax
spanning-tree vlan {vlan-list} priority priority
no spanning-tree vlan {vlan-list} priority
vlan-list–A single VLAN ID or a list of VLAN IDs in comma delineated or
range format with no embedded blanks. Range 1-4093.
priority –The bridge priority advertised when combined with the switch
MAC address. Range 0-61440.
Default Configuration
The default bridge priority is 32768.
Valid values are 0, 4096, 8192, 12288, 16384, 20480, 24576, 28672, 32768,
36864, 40960, 45056, 49152, 53248, 57344, and 61440. The default value is
32768.