DGS-6604 m spanning-tree (timers)
CLI Reference Guide
861
spanning-tree (timers)
Use this command to set the value of Spanning-Tree Timers. It is only used for
RSTP and STP version.
spanning-tree [hello-time SECONDS | forward-time SECONDS | max-age SECONDS]
Default hello-time:2
forward-time: 15
max-age: 20
Command Mode Global configuration
Usage Guideline There are some constraints on the relationship of the three timers. Please refer
to the following formulas:
2 × (Bridge_Forward_Delay - 1.0 seconds) >= Bridge_Max_Age
Bridge_Max_Age >= 2 × (Bridge_Hello_Time + 1.0 seconds)
An error message will be returned if the equation is not satisfied.
This configuration will take effect on STP version and RSTP version only.In
MSTP mode, Use the command spanning-tree mst (timers) to configure the
MSTP timers.
Example This example shows how to configure the STP timers.
Verify the settings by entering the show spanning-tree command.
Syntax Description
hello-time SECONDS Specifies the time interval to send one BPDU at the Designated Port. The range
is 1 to 10 seconds.
forward-time
SECONDS
Specify the maximum delay time for one BPDU to be transmitted by a bridge and
received from another bridge. The range is 4 to 30 seconds.
max-age SECONDS Specify the time interval to determine if a BPDU is valid. The range is 6 to 40
seconds
Switch(config)# spanning-tree hello-time 1
Switch(config)# spanning-tree forward-time 16
Switch(config)# spanning-tree max-age 21