160
C
HAPTER
14: MSTP C
ONFIGURATION
Configuration procedure
Configuration example
# Specify the MSTP operation mode as STP-compatible.
<4210> system-view
[4210] stp mode stp
Configuring the
Maximum Hop Count of
an MST Region
The maximum hop count configured on the region root is also the maximum hops
of the MST region. The value of the maximum hop count limits the size of the MST
region.
A configuration BPDU contains a field that maintains the remaining hops of the
configuration BPDU. And a switch discards the configuration BPDUs whose
remaining hops are 0. After a configuration BPDU reaches a root bridge of a
spanning tree in an MST region, the value of the remaining hops field in the
configuration BPDU is decreased by 1 every time the configuration BPDU passes
one switch. Such a 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.
Configuration procedure
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.
Configuration example
# Configure the maximum hop count of the MST region to be 30.
<4210> system-view
[4210] stp max-hops 30
Table 108
Configure the MSTP operation mode
Operation
Command
Description
Enter system view
system-view
-
Configure the MSTP
operation mode
stp mode
{
stp
|
rstp
|
mstp
} Required
An MSTP-enabled switch
operates in the MSTP mode
by default.
Table 109
Configure the maximum hop count for an MST region
Operation
Command
Description
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.
Summary of Contents for Switch 4210 9-Port
Page 22: ...20 CHAPTER 1 CLI CONFIGURATION ...
Page 74: ...72 CHAPTER 3 CONFIGURATION FILE MANAGEMENT ...
Page 84: ...82 CHAPTER 5 VLAN CONFIGURATION ...
Page 96: ...94 CHAPTER 8 IP PERFORMANCE CONFIGURATION ...
Page 108: ...106 CHAPTER 9 PORT BASIC CONFIGURATION ...
Page 122: ...120 CHAPTER 11 PORT ISOLATION CONFIGURATION ...
Page 140: ...138 CHAPTER 13 MAC ADDRESS TABLE MANAGEMENT ...
Page 234: ...232 CHAPTER 17 802 1X CONFIGURATION ...
Page 246: ...244 CHAPTER 20 AAA OVERVIEW ...
Page 270: ...268 CHAPTER 21 AAA CONFIGURATION ...
Page 292: ...290 CHAPTER 26 DHCP BOOTP CLIENT CONFIGURATION ...
Page 318: ...316 CHAPTER 29 MIRRORING CONFIGURATION ...
Page 340: ...338 CHAPTER 30 CLUSTER ...
Page 362: ...360 CHAPTER 33 SNMP CONFIGURATION ...
Page 368: ...366 CHAPTER 34 RMON CONFIGURATION ...
Page 450: ...448 CHAPTER 39 TFTP CONFIGURATION ...
Page 451: ......
Page 452: ...450 CHAPTER 39 TFTP CONFIGURATION ...
Page 470: ...468 CHAPTER 40 INFORMATION CENTER ...
Page 496: ...494 CHAPTER 44 DEVICE MANAGEMENT ...