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) Setting a Priority for a Switching Device

(Optional) Setting a Priority for a Switching Device


An STP/RSTP network can have only one root bridge, which is the logical center of the spanning tree. The root bridge should be a high-performance switching device deployed at a high network layer; however, such a device may not have the highest priority on the network. Therefore; you need to set a high priority for such a device to ensure that it can be selected as the root bridge.

Because low-performance devices at lower network layers are not suitable as the root bridge, set low priorities for these devices.

A smaller priority value indicates a higher priority of the switching device. The switching device with a higher priority is more likely to be elected as the root bridge.


  1. Run system-view

    The system view is displayed.

  2. Run stp priority priority

    A priority is set for the switching device.

    The default priority value of a switching device is 32768.

    If the stp root primary or stp root secondary command has been executed to configure the device as the root bridge or secondary root bridge, run the undo stp root command to disable the root bridge or secondary root bridge function and then run the stp priority priority command to set a priority.

Updated: 2019-04-12

Document ID: EDOC1100041791

Views: 64006

Downloads: 41

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