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.


S12700 V200R010C00 Configuration Guide - Ethernet Switching

This document describes the configuration of Ethernet services, including configuring link aggregation, VLANs, Voice VLAN, VLAN mapping, QinQ, GVRP, MAC table, STP/RSTP/MSTP, SEP, and so on.
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).
Setting the STP Network Diameter

Setting the STP Network Diameter


Any two terminals on a switching network are connected through a specific path spanning multiple devices. The network diameter is the maximum number of devices between any two terminals. A larger network diameter indicates a larger network scale.

A network diameter that is too large may cause slow network convergence and affect communication. Run the stp bridge-diameter command to set an appropriate network diameter based on the network scale to speed up convergence.

It is recommended that all devices be configured with the same network diameter.


  1. Run:


    The system view is displayed.

  2. Run:

    stp bridge-diameter diameter

    The network diameter is configured.

    By default, the network diameter is 7.

    • RSTP uses a single spanning tree instance on the entire network. As a result, performance deterioration cannot be prevented when the network scale grows. To help mitigate this, the network diameter should not be set larger than 7.

    • It is recommended that you run the stp bridge-diameter diameter command to set the network diameter. Then, the switching device calculates the optimal Forward Delay timer value, Hello timer interval, and Max Age timer value based on the configured network diameter.

Updated: 2019-08-21

Document ID: EDOC1000142081

Views: 276331

Downloads: 423

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