Configuring the maximum hops of an mst region – H3C Technologies H3C S5560 Series Switches User Manual
Page 116
82
Step Command
Remarks
2.
Configure the priority of
the current device.
•
In STP/RSTP mode:
stp priority priority
•
In PVST mode:
stp vlan vlan-id-list priority priority
•
In MSTP mode:
stp [ instance instance-list ] priority
priority
The default setting is 32768.
Configuring the maximum hops of an MST region
Restrict the region size by setting the maximum hops of an MST region. The hop limit configured on the
regional root bridge is used as the hop limit for the MST region.
Configuration BPDUs sent by the regional root bridge always have a hop count set to the maximum value.
When a device receives this configuration BPDU, it decrements the hop count by one, and uses the new
hop count in the BPDUs that it propagates. When the hop count of a BPDU reaches zero, it is discarded
by the device that received it. Devices beyond the reach of the maximum hops can no longer participate
in spanning tree calculations, so the size of the MST region is limited.
Make this configuration only on the root bridge. All other devices in the MST region use the maximum
hop value set for the root bridge.
You can configure the maximum hops of an MST region based on the STP network size. H3C
recommends that you configure the maximum hops to a value that is greater than the maximum hops of
each edge device to the root bridge.
To configure the maximum number of hops of an MST region:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Configure the maximum hops
of the MST region.
stp max-hops hops
The default setting is 20.
Configuring the network diameter of a switched
network
Any two terminal devices in a switched network can reach each other through a specific path, and there
are a series of devices on the path. The switched network diameter is the maximum number of devices on
the path for an edge device to reach another one in the switched network through the root bridge. The
network diameter indicates the network size. The bigger the diameter, the larger the network size.
Based on the network diameter you configured, the system automatically sets an optimal hello time,
forward delay, and max age for the device.
In STP, RSTP, or MSTP mode, each MST region is considered a device. The configured network diameter
takes effect only on the CIST (or the common root bridge) but not on other MSTIs.
- H3C S5130 Series Switches H3C S5120 Series Switches H3C SR8800 H3C SR6600-X H3C SR6600 H3C MSR 5600 H3C MSR 50 H3C MSR 3600 H3C MSR 30 H3C MSR 2600 H3C MSR 20-2X[40] H3C MSR 20-1X H3C MSR 930 H3C MSR 900 H3C WX6000 Series Access Controllers H3C WX5000 Series Access Controllers H3C WX3000 Series Unified Switches H3C LSWM1WCM10 Access Controller Module H3C LSWM1WCM20 Access Controller Module H3C LSQM1WCMB0 Access Controller Module H3C LSRM1WCM2A1 Access Controller Module H3C LSBM1WCM2A0 Access Controller Module