135
Syntax
stp [ vlan vlan-list ] timer forward-delay time
undo stp [ vlan vlan-list ] timer forward-delay
View
System view
Default level
2: System level
Parameters
vlan vlan-list: Specifies a VLAN list in the format of vlan-list = { vlan-id [ to vlan-id ] }&<1-10>, where the
vlan-id parameter represents the VLAN ID, in the range of 1 to 4094, and &<1-10> indicates that you can
specify up to 10 VLAN IDs or VLAN ID ranges.
time: Sets the forward delay in centiseconds, in the range of 400 to 3000 in increments of 100 (as in
400, 500, 600).
Examples
# In MSTP mode, set the forward delay timer to 2000 centiseconds.
<Sysname> system-view
[Sysname] stp timer forward-delay 2000
# In PVST mode, set the forward delay timer to 2000 centiseconds.
<Sysname> system-view
[Sysname] stp mode pvst
[Sysname] stp vlan 2 timer forward-delay 2000
stp timer hello
Description
Use the stp timer hello command to set the hello time of the device.
Use the undo stp timer hello command to restore the default.
By default, the hello time is 200 centiseconds.
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 will be triggered due to timeout.
To set the hello time in STP/RSTP/MSTP mode, use this command without any VLAN specified. To set the
hello time for a specific VLAN or multiple VLANs in PVST mode, use this command with a VLAN list
specified.
HP does not recommend that you 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.