20-12
Cisco IE 2000 Switch Software Configuration Guide
OL-25866-01
Chapter 20 Configuring STP
Information About Configuring STP
If any root switch for the specified VLAN has a switch priority lower than 24576, the switch sets its own
priority for the specified VLAN to 4096 less than the lowest switch priority. (4096 is the value of the
least-significant bit of a 4-bit switch priority value as shown in Table 20-1 on page 20-4.)
Note The spanning-tree vlan vlan-id root global configuration command fails if the value necessary to be the
root switch is less than 1.
Note If your network consists of switches that both do and do not support the extended sy stem ID, it is unlikely
that the switch with the extended system ID support will become the root switch. The extended system
ID increases the switch priority value every time the VLAN number is greater than the priority of the
connected switches running older software.
Note The root switch for each spanning-tree instance shou ld be a backbone or distribution switch. Do not
configure an access switch as the spanning-tree primary root.
Use the diameter keyword to specify the Layer 2 network diameter (that is, the maximum number of
switch hops between any two end stations in the Layer 2 network). When you specify the network
diameter, the switch automatically sets an optimal hello time, forward-delay time, and maximum-age
time for a network of that diameter, which can significantly reduce the convergence time. You can use
the hello keyword to override the automatically calculated hello time.
Note After configuring the switch as the root switch, we recommend that you avoid manually configuring the
hello time, forward-delay time, and maximum-age time t hrough the spanning-tree vlan vlan-id
hello-time, spanning-tree vlan vlan-id forward-t ime, and the spanning-tree vlan vlan-id max-age
global configuration commands.
Secondary Root Switch
When you configure a switch as the secondary root, the switch priority is modified from the default value
(32768) to 28672. The switch is then likely to become the root switch for the specified VLAN if the
primary root switch fails. This is assuming that the other network switches use the default switch priority
of 32768 and therefore are unlikely to become the root sw itch.
You can execute this command on more than one switch to configure multiple backup root switches. Use
the same network diameter and hello-time values that you used w hen you configured the primary root
switch with the spanning-tree vlan vlan-id root primary global configuration command.
Port Priority
If a loop occurs, spanning tree uses the port priority when selecting an interface to put into the
forwarding state. You can assign higher priority values (lower numerical values) to interfaces that you
want selected first and lower priority values (higher numerical values) that you want selected last. If all
interfaces have the same priority value, spanning tree puts the interface with the lowest interface number
in the forwarding state and blocks the other interfaces.