65
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 the common root bridge), 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
stp compliance
Use
stp compliance
to configure the mode the specified ports will use to recognize and send MSTP
BPDUs.
Use
undo stp compliance
to restore the default.
Syntax
stp compliance
{
auto
|
dot1s
|
legacy
}
undo stp compliance