cisco — Multiple Spanning-Tree Regions

• When the device is in MST mode, it uses the long path-cost calculation method (32 bits) to compute the path cost values. With the long path-cost calculation method, the following path cost values are supported: Path Cost Value Speed 2,000,000 10 Mb/s 200,000 100 Mb/s 20,000 1 Gb/s 2,000 10 Gb/s 200 100 Gb/s Root Switch Configuration The switch maintains a spanning-tree instance for the group of VLANs mapped to it. A device ID, consisting of the switch priority and the switch MAC address, is associated with each instance. For a group of VLANs, the switch with the lowest device ID becomes the root switch.

When you configure a switch as the root, you modify the switch priority from the default value (32768) to a significantly lower value so that the switch becomes the root switch for the specified spanning-tree instance. When you enter this command, the switch checks the switch priorities of the root switches. Because of the extended system ID support, the switch sets its own priority for the specified instance to 24576 if this value will cause this switches to become the root for the specified spanning-tree instance. If any root switch for the specified instance has a switch priority lower than 24576, the switch sets its own priority to 4096 less than the lowest switch priority.

(4096 is the value of the least-significant bit of a 4-bit switch priority value. For more information, see Bridge ID, Switch Priority, and Extended System ID . If your network consists of switches that support and do not support the extended system 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. The root switch for each spanning-tree instance should be a backbone or distribution switch. Do not configure an access switch as the spanning-tree primary root.

Use the diameter keyword, which is available only for MST instance 0, 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. Multiple Spanning-Tree Regions For switches to participate in multiple spanning-tree (MST) instances, you must consistently configure the switches with the same MST configuration information.

A collection of interconnected switches that have the same MST configuration comprises an MST region. The MST configuration controls to which MST region each device belongs. The configuration includes the name of the region, the revision number, and the MST VLAN-to-instance assignment map. You configure Configuring Multiple Spanning-Tree Protocol Root Switch Configuration Configuring Multiple Spanning-Tree Protocol 3