Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document.
Note: Even the most advanced machine translation cannot match the quality of professional translators.
Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
(Optional) Configuring the Root Bridge and Secondary Root Bridge
Context
The root bridge of a spanning tree is automatically calculated.
You can also manually specify a root bridge or secondary root bridge.
- A spanning tree can have only one 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.
- 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 unless a new root bridge is specified. If there are multiple secondary root bridges, the one with smallest MAC address becomes the root bridge of the spanning tree.
It is recommended that you specify the
root bridge and secondary root bridge when configuring STP/RSTP.