162
C
HAPTER
14: MSTP C
ONFIGURATION
All switches in a switched network adopt the three time-related parameters
configured on the CIST root bridge.
c
CAUTION:
■
The forward delay parameter and the network diameter are correlated.
Normally, a large network diameter corresponds to a large forward delay. A too
small forward delay parameter may result in temporary redundant paths. And a
too large forward delay parameter may cause a network unable to resume the
normal state in time after changes occurred to the network. The default value
is recommended.
■
An adequate hello time parameter enables a switch to detect link failures in
time without occupying too many network resources. And a too small hello
time parameter may result in duplicated configuration BPDUs being sent
frequently, which increases the work load of the switches and wastes network
resources. The default value is recommended.
■
As for the max age parameter, if it is too small, network congestion may be
falsely regarded as link failures, which results in frequent spanning tree
recalculation. If it is too large, link problems may be unable to be detected in
time, which prevents spanning trees being recalculated in time and makes the
network less adaptive. The default value is recommended.
As for the configuration of the three time-related parameters (that is, the hello
time, forward delay, and max age parameters), the following formulas must be
met to prevent frequent network jitter.
2 x (forward delay - 1 second) >= max age
Max age >= 2 x (hello time + 1 second)
You are recommended to specify the network diameter of the switched network
and the hello time by using the
stp root primary
or
stp root secondary
command. After that, the three proper time-related parameters are determined
automatically.
Configuration example
# Configure the forward delay parameter to be 1,600 centiseconds, the hello time
parameter to be 300 centiseconds, and the max age parameter to be 2,100
centiseconds (assuming that the current switch operates as the CIST root bridge).
<4210> system-view
[4210] stp timer forward-delay 1600
[4210] stp timer hello 300
[4210] stp timer max-age 2100
Configuring the Timeout
Time Factor
When the network topology is stable, a non-root-bridge switch regularly forwards
BPDUs received from the root bridge to its neighboring devices at the interval
specified by the hello time parameter to check link failures. Normally, a switch
regards its upstream switch faulty if the former does not receive any BPDU from
the latter in a period three times of the hello time and then initiates the spanning
tree recalculation process.
Spanning trees may be recalculated even in a steady network if an upstream
switch continues to be busy. You can configure the timeout time factor to a larger
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 ...