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.


AR500, AR510, and AR530 V200R007 CLI-based Configuration Guide - Ethernet Switching

This document describes the configuration of Ethernet services, including configuring transparent bridge, MAC table, link aggregation, VLANs, STP/RSTP/MSTP, and so on.The document provides the configuration procedures and configuration examples to illustrate the service configuration methods and application scenario.
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).
Introduction to STP/RSTP

Introduction to 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 11-1 compares the STP, RSTP, and MSTP protocols.

Table 11-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-05-25

Document ID: EDOC1000097279

Views: 20753

Downloads: 64

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