Context
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.
It is recommended that all devices be configured with the same network diameter.
Procedure
Run:
system-view
The system view is displayed.
Run:
stp bridge-diameter diameter
The network diameter is configured.
By default, the network diameter is 7.