1-18stp bridge-diameterSyntaxstp bridge-diameter diameterundo stp bridge-diameterViewSystem viewDefault Level2: System levelParametersdiameter: Specifies the switched network diameter, in the range of 2 to 7.DescriptionUse the stp bridge-diameter command to specify the network diameter, namely the maximum possiblenumber of stations between any two terminal devices on the switched network.Use the undo stp bridge-diameter command to restore the default.By default, the network diameter of the switched network is 7.Note that:z An appropriate setting of hello time, forward delay and max age can speed up networkconvergence. The values of these timers are related to the network size. You can set these threetimers indirectly by setting the network diameter. Based on the network diameter you configured,MSTP automatically sets an optimal hello time, forward delay, and max age for the device. With thenetwork diameter set to 7 (the default), the three timer are also set to their defaults.z This configuration must be configured on the root bridge and is effective for the CIST only, not forMSTIs.Related commands: stp timer forward-delay, stp timer hello, stp timer max-age.Examples# Set the network diameter of the switched network to 5. system-view[Sysname] stp bridge-diameter 5stp complianceSyntaxstp compliance { auto | dot1s | legacy }undo stp complianceViewLayer 2 Ethernet port view, port group view, Layer 2 aggregate port view