R0106-HP MSR Router Series Layer 2 - LAN Switching Command Reference(V7)
48
• stp timer max-age
stp timer hello
Use stp timer hello to set the hello time.
Use undo stp timer hello to restore the default.
Syntax
stp [ vlan vlan-id-list ] timer hello time
undo stp [ vlan vlan-id-list ] timer hello
Default
The hello time is 200 centiseconds.
Views
System view
Predefined user roles
network-admin
Parameters
vlan vlan-id-list: Sets the hello time for the VLANs specified by a VLAN ID list. They are in the format of
vlan-id-list = { vlan-id [ to vlan-id ] }&<1-10>, where &<1-10> indicates that you can specify up to 10
vlan-id [ to vlan-id ] parameters. The value range for the vlan-id argument is 1 to 4094. If you set the STP,
RSTP, or MSTP hello time, do not specify this option.
time: Sets the hello time in centiseconds, in the range of 100 to 1000 in increments of 100 (as in 100,
200, 300).
Usage guidelines
Hello time is the interval at which spanning tree devices send configuration BPDUs to maintain the
spanning tree. If a device fails to receive configuration BPDUs within the set period of time, a new
spanning tree calculation process is triggered.
HP recommends not setting the hello time with this command. Instead, you can specify the network
diameter of the switched network by using the stp bridge-diameter command. This command makes the
spanning tree protocols automatically calculate the optimal settings for the hello timer. If the network
diameter uses the default value, the hello timer also uses the default value.
Examples
# In MSTP mode, set the hello time to 400 centiseconds.
<Sysname> system-view
[Sysname] stp timer hello 400
# In PVST mode, set the hello time for VLAN 2 to 400 centiseconds.
<Sysname> system-view
[Sysname] stp vlan 2 timer hello 400
Related commands
• stp bridge-diameter
• stp timer forward-delay
• stp timer max-age