To do...
Enter system view
Configure the maximum hops
of the MST region
A larger maximum hops setting means a larger size of the MST region. Only the maximum hops
configured on the regional root bridge can restrict the size of the MST region.
Configuration example
# Set the maximum hops of the MST region to 30.
<Sysname> system-view
[Sysname] stp max-hops 30
Configuring the Network Diameter of a Switched Network
Any two stations in a switched network are interconnected through a specific path composed of a series
of devices. The network diameter is the number of devices on the path composed of the most devices.
Configuration procedure
Follow these steps to configure the network diameter of the switched network:
To do...
Enter system view
Configure the network diameter
of the switched network
The network diameter is a parameter that indicates the network size. A bigger network diameter
represents a larger network size.
Based on the network diameter you configured, MSTP automatically sets an optimal hello time,
forward delay, and max age for the device.
The configured network diameter is effective for the CIST only, and not for MSTIs. Each MST
region is considered as a device.
Configuration example
# Set the network diameter of the switched network to 6.
<Sysname> system-view
[Sysname] stp bridge-diameter 6
Use the command...
system-view
stp max-hops hops
Use the command...
system-view
stp bridge-diameter
bridge-number
1-20
Remarks
—
Optional
20 by default
Remarks
—
Optional
7 by default