
Configuring Root Bridge
161
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).
Configuration procedure
The network diameter parameter indicates the size of a network. The bigger the
network diameter is, the larger the network size is.
After you configure the network diameter of a switched network, an
MSTP-enabled switch adjusts its hello time, forward delay, and max age settings
accordingly to better values.
The network diameter setting only applies to CIST; it is invalid for MSTIs.
Configuration example
# Configure the network diameter of the switched network to 6.
<4210> system-view
[4210] stp bridge-diameter 6
Configuring the MSTP
Time-related Parameters
Three MSTP time-related parameters exist: forward delay, hello time, and max age.
You can configure the three parameters to control the process of spanning tree
calculation.
Configuration procedure
Table 110
Configure the network diameter of the switched network
Operation
Command
Description
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.
Table 111
Configure MSTP time-related parameters
Operation
Command
Description
Enter system view
system-view
-
Configure the forward delay
parameter
stp timer forward-delay
centiseconds
Required
The forward delay parameter
defaults to 1,500
centiseconds (namely, 15
seconds).
Configure the hello time
parameter
stp timer hello
centiseconds
Required
The hello time parameter
defaults to 200 centiseconds
(namely, 2 seconds).
Configure the max age
parameter
stp timer max-age
centiseconds
Required
The max age parameter
defaults to 2,000
centiseconds (namely, 20
seconds).
Summary of Contents for 4210 PWR
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...