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

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).
(Optional) Configuring the Root Bridge and Secondary Root Bridge

(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 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.
  • 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. If a new root bridge is specified, the secondary root bridge will not become the root bridge. If there are multiple secondary root bridges, the one with smallest MAC address becomes the root bridge of the spanning tree.
NOTE:

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 VBST.

Procedure

  • Perform the following operations on the device you want to use as the root bridge.
    1. Run system-view

      The system view is displayed.

    2. Run stp vlan vlan-id [ to vlan-id ] [ vlan-id [ to vlan-id ] ] &<1-9> root primary

      The device is configured as the root bridge.

      By default, a switching device does not function as the root bridge. After you run this command, the priority value of the device is set to 0 and cannot be changed.

    3. Run commit

      The configuration is committed.

  • Perform the following operations on the device you want to use as the secondary root bridge.
    1. Run system-view

      The system view is displayed.

    2. Run stp vlan vlan-id [ to vlan-id ] [ vlan-id [ to vlan-id ] ] &<1-9> 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 you run this command, the priority value of the device is set to 4096 and cannot be changed.

    3. Run commit

      The configuration is committed.

Translation
Download
Updated: 2019-05-08

Document ID: EDOC1100004351

Views: 79424

Downloads: 274

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