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

S1720, S2700, S5700, and S6720 V200R012(C00 and C20)

This document describes the configuration of Ethernet services, including configuring MAC address table, link aggregation, VLANs, VLAN aggregation, MUX VLAN, VLAN termination, 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) 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: 2018-12-24

Document ID: EDOC1100038339

Views: 169500

Downloads: 703

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