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

S7700 and S9700 V200R011C10

This document describes the configuration of Ethernet services, including configuring link aggregation, VLANs, Voice VLAN, VLAN mapping, QinQ, GVRP, MAC table, STP/RSTP/MSTP, SEP, and so on.
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 the Device Priority

(Optional) Setting the Device Priority


The device priority is used in spanning tree calculation, and determines whether the device can be configured as a root bridge of a spanning tree. A smaller value indicates a higher priority.

Generally, a high-performance switch at a high network layer is required to be selected as the root bridge. However, the high-performance switch at a high network layer may not have a high priority. It is necessary to set the device priority to ensure that the device functions as the root bridge. Low-performance devices at lower network layers are not fit to serve as root bridges. Therefore, set low priorities for these devices.


  1. Run system-view

    The system view is displayed.

  2. Run stp vlan { vlan-id1 [ to vlan-id2 ] } &<1-10> priority priority

    The priority of the switch in a specified VLAN is set.

    By default, the priority of the device is 32768.


    If the device has been configured as the root bridge or secondary root bridge, to change the device priority, run the undo stp vlan { vlan-id1 [ to vlan-id2 ] } &<1-10> root command to disable the root bridge or secondary root bridge function and run the stp vlan { vlan-id1 [ to vlan-id2 ] } &<1-10> priority priority command to set the device priority.

Updated: 2019-10-18

Document ID: EDOC1000178310

Views: 287246

Downloads: 141

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