Spanning-Tree Operation

802.1s Multiple Spanning Tree Protocol (MSTP)

Syntax: spanning-tree priority < 0 .. 15 >

This command sets the switch (bridge) priority for the designated region in which the switch resides. The switch compares this priority with the priorities of other switches in the same region to determine the root switch for the region. The lower the priority value, the higher the priority. (If there is only one switch in the region, then that switch is the root switch for the region.) The root bridge in a region provides the path to connected regions for the traffic in VLANs assigned to the region’s IST instance. (Traffic in VLANs assigned to a numbered STP instance in a given region moves to other regions through the root switch for that instance.)

The priority range for an MSTP switch is 0-61440. However, this command specifies the priority as a multiplier (0 - 15 ) of 4096. That is, when you specify a priority value of 0 - 15, the actual priority assigned to the switch is:

(priority-value) x 4096

For example, if you configure “2” as the priority on a given MSTP switch, then the Switch Priority setting is 8,192.

Note: If multiple switches in the same MST region have the same priority setting, then the switch with the lowest MAC address becomes the root switch for that region.

5-68