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

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) 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-id [ to vlan-id ] [ vlan-id [ to vlan-id ] ] &<1-9> 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-id [ to vlan-id ] [ vlan-id [ to vlan-id ] ] &<1-9> root command to disable the root bridge or secondary root bridge function and run the stp vlan-id [ to vlan-id ] [ vlan-id [ to vlan-id ] ] &<1-9> priority priority command to set the device priority.

  3. Run commit

    The configuration is committed.

Updated: 2019-05-08

Document ID: EDOC1100004351

Views: 125926

Downloads: 295

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