Extreme Networks switch devices support the Spanning Tree Protocol (STP), Rapid Spanning Tree Protocol (RSTP), and Multiple Spanning Tree Protocol (MSTP) as defined in the following standards and described in IEEE 802.1Q:
STP forms a network of bridges connected by LANs into a tree that is:
The root bridge is the bridge with the lowest bridge ID in the network and functions as the logical center of the STP network. Each bridge calculates its best path to the root using the information contained in BPDUs received from its neighbor bridges. Non-root bridges select the root port among all the ports receiving BPDUs. BPDUs advertise a bridge‘s cost to the root bridge. The root port is chosen from the ports with received BPDUs indicating a path to the root. The root port will have the lowest cost path to the root. In the case of multiple ports offering identical costs, tie breaking is based upon the transmitting bridge ID, transmitting port ID, and receive port ID. For MSTP there are additional fields to consider – internal path cost and regional root ID. These are all discussed in more detail below.
Once the root port has been established, STP determines the other port roles. Ports providing a path to root but are not the root port become alternate ports because they provide an alternate path to the root. Other operational ports that provide a path to the root for attached bridges have the designated role. There is another type of port known as a backup port. A backup port attaches to a LAN where another port of the same bridge is a designated port. A backup port does not become part of the active topology unless the LAN‘s designated port is disabled and the backup port takes over the designated role.
The alternate and backup ports are set to blocking state while the root and designated ports move to the forwarding state.
Bridge priority, port path cost, and port priority are configurable parameters that are part of the port role calculation and may be modified to create the desired topology.