Operation Manual – MSTP
H3C S5500-SI Series Ethernet Switches
II. Configuration example
# Set the device priority in MST instance 1 to 4096.
<Sysname> system-view
[Sysname] stp instance 1 priority 4096
1.3.5 Configuring the Maximum Hops of an MST Region
By setting the maximum hops of an MST region, you can restrict the region size. The
maximum hops setting configured on the regional root bridge will be used as the
maximum hops of the MST region.
After a configuration BPDU leaves the root bridge of the spanning tree in the region, its
hop count is decremented by 1 whenever it passes a device. When its hop count
reaches 0, it will be discarded by the device that has received it. As a result, devices
beyond the maximum hops are unable to take part in spanning tree computing, and
thereby the size of the MST region is restricted.
I. Configuration procedure
Follow these steps to configure the maximum hops of the MST region
Enter system view
Configure the maximum
hops of the MST region
Note:
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.
II. Configuration example
# Set the maximum hops of the MST region to 30.
<Sysname> system-view
[Sysname] stp max-hops 30
1.3.6 Configuring the Network Diameter of a Switched Network
Any two stations in a switched network are interconnected through specific paths,
which are composed of a series of devices. Represented by the number of devices on a
To do...
system-view
stp max-hops hops
Use the command...
1-21
Chapter 1 MSTP Configuration
Remarks
—
Optional
20 by default