No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

AR100-S, AR110-S, AR120-S, AR150-S, AR160-S, AR200-S, AR1200-S, AR2200-S, and AR3200-S V200R009 CLI-based Configuration Guide - Ethernet Switching

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

(Optional) Configuring the Root Bridge and Secondary Root Bridge

Context

The root bridge can be calculated through calculation. You can also manually configure the root bridge or secondary root bridge.
  • A switching device plays different roles in different spanning trees. The switching device can function as the root switch or secondary root switch of a spanning tree and the root switch or secondary root switch of another spanning tree. The switching device can function as only the root switch or secondary root switch of the same spanning tree.
  • In a spanning tree, only one root bridge takes effect. When two or more than two devices are specified as root bridges of a spanning tree, the device with the smallest MAC address is used as the root bridge.
  • You can specify multiple secondary root bridges for each spanning tree. When the root bridge fails or is powered off, the secondary root bridge becomes the new root bridge. If a new root bridge is specified, the secondary root bridge will not become the root bridge. If multiple secondary root bridges are configured, the secondary root bridge with smallest MAC address will become the root bridge of the spanning tree.
NOTE:
It is recommended that the root bridge and secondary root bridge be configured manually.

Procedure

  • Perform the following operations on the device to be used as the root bridge.
    1. Run system-view

      The system view is displayed.

    2. Run stp [ instance instance-id ] root primary

      The device is configured as the root bridge.

      By default, a switching device does not function as the root bridge. After the configuration is complete, the BID of the device is 0 and cannot be changed.

      If instance is not specified, the device in MSTI 0 is a root bridge.

  • Perform the following operations on the device to be used as the secondary root bridge.
    1. Run system-view

      The system view is displayed.

    2. Run stp [ instance instance-id ] root secondary

      The device is configured as the secondary root bridge.

      By default, a switching device does not function as the secondary root bridge. After the configuration is complete, the BID of the device is 4096 and cannot be changed.

      If instance is not specified, the device in MSTI 0 is a backup root bridge.

Translation
Download
Updated: 2019-05-17

Document ID: EDOC1000174108

Views: 55407

Downloads: 40

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next