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).
Configuring V-STP

Configuring V-STP


Virtual Spanning Tree Protocol (V-STP) is a Layer 2 topology management feature and virtualizes two STP-enabled devices into one device to perform STP calculation.

STP can detect the M-LAG master or backup status. After V-STP is enabled on the M-LAG master and backup devices and M-LAG master/backup negotiation is successful, two devices are virtualized into one device for port role calculation and fast convergence. STP needs to synchronize the bridge information and instance priority of the M-LAG master and backup devices. After M-LAG master/backup negotiation is successful, the backup device uses the bridge MAC address and instance priority that is synchronized from the master device for STP calculation and packet transmission. This ensures STP parameter calculation on the virtualized device.

V-STP can be only applicable to M-LAG networking. It can be used in multi-level M-LAG interconnection scenarios and scenarios where devices in the M-LAG function as non-root-bridges.

When configuring V-STP, ensure that the STP/RSTP timer settings on the two devices that constitute an M-LAG be the same. Otherwise, network flapping may occur.


  1. Run system-view

    The system view is displayed.

  2. Run stp mode { stp | rstp }

    The switch is configured to work in STP or RSTP mode.

    By default, the switch works in MSTP mode.

    V-STP does not support the MSTP mode, and supports multi-process. By default, an MSTP process works in MSTP mode. Currently, only STP and RSTP modes are supported in V-STP scenarios. The MSTP process therefore must be configured to work in STP or RSTP mode in V-STP scenarios.

  3. (Optional) Run stp bridge-address mac-address

    The bridge MAC address used in spanning tree participation is configured.

    By default, the switch's MAC address is the bridge MAC address of the switch that participates in spanning tree calculation.

    To prevent STP network flapping caused by switch restart or DFS active/standby switchover and ensure revertive switching performance, you are advised to set a larger bridge MAC address for the switch in DFS backup state when the M-LAG master and backup devices have the same priority.

  4. Run stp v-stp enable

    V-STP is enabled on an M-LAG device.

    By default, V-STP is disabled on an M-LAG device.

  5. Run commit

    The configuration is committed.

Updated: 2019-05-08

Document ID: EDOC1100004351

Views: 125560

Downloads: 295

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