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


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


Configuration Guide - Ethernet Switching

CloudEngine 8800, 7800, 6800, and 5800 V200R003C00

This document describes the configuration of Ethernet services, including configuring MAC address table, link aggregation, VLANs, MUX VLAN, Voice VLAN, VLAN mapping, QinQ, GVRP, VCMP, STP/RSTP/MSTP, VBST, SEP, RRPP, ERPS, LBDT, and Layer 2 protocol transparent transmission.
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).
Configuring the Root Bridge and Bridge ID

Configuring the Root Bridge and Bridge ID


When the root bridge mode is used to configure M-LAG, the M-LAG master and backup devices must be used as root bridges and configured with the same bridge ID on the STP network so that the two devices are simulated into one 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 switch does not function as the root bridge of any spanning tree. After the configuration is complete, the priority of the device is 0 and cannot be changed.

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

  3. Run stp bridge-address mac-address

    The MAC address of the device that participates in spanning tree calculation is specified.

    By default, the device's MAC address is the bridge MAC address of the device that participates in spanning tree calculation. You are advised to use the smaller MAC address of the M-LAG master and slave device as the bridge MAC address for spanning tree calculation.

  4. Run commit

    The configuration is committed.

Updated: 2019-05-08

Document ID: EDOC1100004351

Views: 126076

Downloads: 295

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