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. A larger network diameter indicates a larger network scale.
An improper network diameter 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, which helps speed up convergence. 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.
The system view is displayed.
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.