Operation Manual – MSTP
H3C S3100-52P Ethernet Switch
Chapter 1 MSTP Configuration
1-27
mechanism disables the switches that are beyond the maximum hop count from
participating in spanning tree calculation, and thus limits the size of an MST region.
With such a mechanism, the maximum hop count configured on the switch operating as
the root bridge of the CIST or an MSTI in an MST region becomes the network diameter
of the spanning tree, which limits the size of the spanning tree in the current MST region.
The switches that are not root bridges in the MST region adopt the maximum hop
settings of their root bridges.
I. Configuration procedure
Follow these steps to configure the maximum hop count for an MST region:
To do...
Use the command...
Remarks
Enter system view
system-view
—
Configure the maximum
hop count of the MST
region
stp max-hops
hops
Required
By default, the maximum
hop count of an MST
region is 20.
The bigger the maximum hop count, the larger the MST region is. Note that only the
maximum hop settings on the switch operating as a region root can limit the size of the
MST region.
II. Configuration example
# Configure the maximum hop count of the MST region to be 30.
<Sysname> system-view
[Sysname] stp max-hops 30
1.3.8 Configuring the Network Diameter of the Switched Network
In a switched network, any two switches can communicate with each other through a
specific path made up of multiple switches. The network diameter of a network is
measured by the number of switches; it equals the number of the switches on the
longest path (that is, the path containing the maximum number of switches).
I. Configuration procedure
Follow these steps to configure the network diameter of the switched network:
To do...
Use the command...
Remarks
Enter system view
system-view
—
Configure the network
diameter of the switched
network
stp bridge-diameter
bridgenumber
Required
The default network
diameter of a network is 7.