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).
Setting the MSTP Network Diameter

Setting the MSTP Network Diameter


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

An improper network diameter may cause slow network convergence and affect communication on the network. To speed up convergence, run the stp bridge-diameter command to set an appropriate network diameter based on the network scale. Running this command also allows the switch to calculate the optimal Forward Delay timer value, Hello timer value, and Max Age timer value based on the configured network diameter.

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


  1. Run system-view

    The system view is displayed.

  2. (Optional) Run stp process process-id

    The MSTP process view is displayed.


    Skip this step if you perform configurations in the MSTP process 0.

  3. 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. Therefore, the network diameter cannot be larger than 7.

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

  4. Run commit

    The configuration is committed.

Updated: 2019-05-08

Document ID: EDOC1100004351

Views: 129116

Downloads: 297

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