< Home

hrp timer hello

Function

The hrp timer hello command sets an interval at which the FW sends VGMP, HRP heartbeat, and HRP link detection packets.

The undo hrp timer hello command restores the interval to the default value.

Format

hrp timer hello interval

undo hrp timer hello

Parameters

Parameter Description Value
interval FWSpecifies the interval at which VGMP, HRP heartbeat, and HRP link detection packets are sent. The value is an integer ranging from 500 to 60000, in milliseconds. By default, the interval is 1000 milliseconds.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Configuration Impact

The interval for sending VGMP, HRP heartbeat, and HRP link detection packets has the following impacts on hot standby:

  • Two FWs send VGMP packets to each other to obtain information about the peer status and VGMP group priority. If the local VGMP group priority changes, the priorities of the two ends are compared in time for an active/standby switchover. Therefore, a small interval helps the FWs rapidly know the peer status.
  • HRP heartbeat packets are used to detect whether the peer device is working. If the FW does not receive heartbeat packets within five intervals, it considers the peer faulty and preempts the active role. Therefore, a small interval helps improve the active/standby switchover speed upon a device failure.
  • HRP link detection packets are used to check whether the heartbeat interface on the peer works properly. Therefore, a small interval helps the FW rapidly detect the status of the peer heartbeat interface. If the active heartbeat interface fails, the standby heartbeat interface can rapidly take over traffic.

However, the interval cannot be too small, especially the CPU usage of the FW management plane is high. Otherwise, the FW may incorrectly switch its status because the management plane is too busy to schedule HRP heartbeat packets within five sending intervals.

This command can be backed up to the standby device. After hot standby is configured on two FWs, you only need to configure this command on the active device.

Precautions

Ensure that the same interval is set for the active and standby FWs. Otherwise, the active/standby status of the FWs may change by error.

Do not set the interval to a too small value. Otherwise, the FWs may incorrectly switch their status. The default value (1000 milliseconds) is recommended.

Example

# Set the interval to 5000 milliseconds for sending VGMP, HRP heartbeat, and HRP link detection packets.

<sysname> system-view
[sysname] hrp timer hello 5000
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >