(Optional) Configuring the Root Bridge and Secondary Root Bridge
Context
- A switch can function as a root bridge or a secondary root bridge of more than one spanning tree. However, in a particular spanning tree, it cannot function as both the root bridge and secondary root bridge.
- In a spanning tree, there can only be one root bridge. When two or more root bridges are specified in a spanning tree, the device with the smallest MAC address is used as the root bridge.
- There can be multiple secondary root bridges in a spanning tree. If the root bridge fails or is powered off and no new root bridge is specified, the secondary root bridge with smallest MAC address will become the root bridge of the spanning tree.
On networks that run STP/RSTP/MSTP/VBST, configure an optimal core switch as the root bridge to ensure stability of the STP Layer 2 network. Otherwise, new access devices may trigger STP root bridge switching, causing short service interruptions.