74
Examples
# In MSTP mode, set the forward delay timer to 20 seconds.
<Sysname> system-view
[Sysname] stp timer forward-delay 2000
stp timer hello
Syntax
stp timer hello
time
undo stp
timer hello
View
System view
Default level
2: System level
Parameters
time
: Sets the hello time in 0.01 seconds, ranging from 100 to 1000 in steps of 100 (as in 100, 200,
300).
Description
Use
stp timer hello
to set the hello time of the device.
Use
undo stp timer hello
to restore the default.
By default, the hello time is 2 seconds.
Hello time is the time interval at which spanning tree devices send configuration BPDUs to maintain
spanning tree. If a device fails to receive configuration BPDUs within the set period of time, a new
spanning tree calculation process is triggered due to timeout.
H3C does not recommend you to set the hello time with this command. Instead, you can specify the
network diameter of the switched network by using the
stp bridge-diameter
command and let spanning
tree protocols automatically calculate optimal settings of the hello timer. If the network diameter uses the
default value, the hello timer also uses the default value.
Related commands:
stp timer forward-delay
,
stp timer max-age
, and
stp bridge-diameter
.
Examples
# In MSTP mode, set the hello time to 4 seconds.
<Sysname> system-view
[Sysname] stp timer hello 400
stp timer max-age
Syntax
stp timer max-age
time
undo stp
timer max-age
View
System view