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.


CLI-based Configuration Guide - Ethernet Switching

AR650, AR1600, and AR6100 V300R003

This document describes how to configure the components for LAN services, including link aggregation groups, VLANs, voice VLANs, MAC address tables, transparent bridging, as well as GVRP, STP/RSTP, and MSTP protocols.
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 a Priority for a Switching Device in an MSTI

(Optional) Configuring a Priority for a Switching Device in an MSTI


In an MSTI, there is only one root bridge, which is the logic center of the MSTI. During root bridge selection, a high-performance switching device at a high network layer should be selected as the root bridge; however, the priority of such a device may not be the highest on the network. It is therefore necessary to set a high priority for the switching device to ensure that the device functions as a root bridge.

Low-performance devices at lower network layers are not fit to serve as a root bridge. Therefore, set low priorities for these devices.

A switching device with a high priority is more likely to be selected as the root bridge in an MSTI. A smaller priority value indicates a higher priority.


  1. Run system-view

    The system view is displayed.

  2. Run stp [ instance instance-id ] priority priority

    A priority is set for the switching device in an MSTI.

    The default priority value of the switching device is 32768.

    If the instance-id is not designated, a priority is set for the switching device in MSTI0.


    If the stp [ instance instance-id ] root primary or stp [ instance instance-id ] root secondary command has been executed to configure the device as the root bridge or secondary root bridge, to change the device priority, run the undo stp [ instance instance-id ] root command to disable the root bridge or secondary root bridge function and run the stp [ instance instance-id ] priority priority command to set a priority.

Updated: 2019-04-12

Document ID: EDOC1100041791

Views: 64204

Downloads: 41

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