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).
Overview of STP/RSTP

Overview of STP/RSTP


Generally, redundant links are used on an Ethernet switching network to provide link backup and enhance network reliability. The use of redundant links, however, may produce loops, causing broadcast storms and making the MAC address table unstable. As a result, network communication may encounter quality deterioration or even be interrupted. STP solves this problem.

STP refers to the spanning tree protocol defined in IEEE 802.1D, RSTP defined in IEEE 802.1W, and the Multiple Spanning Tree Protocol (MSTP) defined in IEEE 802.1S.

MSTP is compatible with RSTP and STP, and RSTP is compatible with STP. Table 10-1 compares the STP, RSTP, and MSTP protocols.

Table 10-1  Comparison of STP, RSTP, and MSTP

Spanning Tree Protocol


Usage Scenario


  • A loop-free tree topology is formed in an STP region to prevent broadcast storms while implementing link redundancy.
  • Route convergence is slow.

All VLANs share one spanning tree, and users or services do not need to be differentiated.


  • A loop-free tree topology is formed in an STP region to prevent broadcast storms while implementing link redundancy.
  • RSTP achieves fast network convergence.


  • In an MSTP region, multiple loop-free trees are generated. Therefore, broadcast storms are prevented and redundancy is achieved.
  • MSTP achieves fast network convergence.
  • MSTP implements load balancing among VLANs. Traffic in different VLANs is transmitted along different paths.

Traffic in different VLANs is forwarded through different spanning trees for load balancing. The spanning trees are independent of each other. In this situation, users or services are distinguished by VLANs.


After a spanning tree protocol is configured on an Ethernet switching network, the protocol calculates the network topology to implement the following functions:

  • Loop prevention: The spanning tree protocol blocks redundant links to prevent potential loops on the network.
  • Link redundancy: If an active link fails and a redundant link exists, the spanning tree protocol activates the redundant link to ensure network connectivity.
Updated: 2019-04-12

Document ID: EDOC1100041791

Views: 57716

Downloads: 40

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