(Optional) Configuring the Root Bridge and Secondary Root Bridge
Context
- Configuring a root bridge: A spanning tree can have only one effective root bridge. When two or more devices are specified as root bridges for a spanning tree, the device with the smallest MAC address is elected as the root bridge.
- Configuring a secondary root bridge: You can specify multiple secondary root bridges for each spanning tree. When the root bridge fails or is powered off, a secondary root bridge becomes the new root bridge until a new root bridge is specified. If there are multiple secondary root bridges, the one with the smallest MAC address becomes 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.
It is recommended that you specify the root bridge and secondary root bridge when configuring STP/RSTP.