R3303-HP 6600/HSR6600 Routers Layer 2 - LAN Switching Command Reference
61
Views
System view
Default command level
2: System level
Examples
# Enable the BPDU guard function.
<Sysname> system-view
[Sysname] stp bpdu-protection
stp bridge-diameter
Use stp bridge-diameter to specify the network diameter, the maximum possible number of stations
between any two terminal devices on the switched network.
Use undo stp bridge-diameter to restore the default.
Syntax
stp bridge-diameter diameter
undo stp bridge-diameter
Default
The network diameter of the switched network is 7.
Views
System view
Default command level
2: System level
Parameters
diameter: Specifies the switched network diameter in the range of 2 to 7.
Usage guidelines
An appropriate setting of hello time, forward delay, and max age can speed up network convergence.
The values of these timers are related to the network size, and you can set the timers by setting the
network diameter. With the network diameter set to 7 (the default), the three timers will also be set to their
defaults.
Each MST region is considered as a device, and the configured network diameter of the switched
network takes effect only on the CIST (or MSTI 0) but not on other MSTIs.
Examples
# In MSTP mode, set the network diameter of the switched network to 5.
<Sysname> system-view
[Sysname] stp bridge-diameter 5
Related commands
• stp timer forward-delay
• stp timer hello
• stp timer max-age










