< Home

vrrp recover-delay

Function

The vrrp recover-delay command sets the delay before a VRRP group recovers.

The undo vrrp recover-delay command restores the default delay before a VRRP group recovers.

By default, the delay before a VRRP group recovers is 0.

Format

vrrp recover-delay delay-value

undo vrrp recover-delay

Parameters

Parameter Description Value
delay-value Specifies the delay before a VRRP group recovers. The value is an integer that ranges from 0 to 60, in seconds.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

When an interface or a BFD session associated with a VRRP group alternates between Up and Down states, the VRRP group status may flap, causing user traffic loss. To solve this problem, run the vrrp recover-delay command to set the delay before a VRRP group recovers. A VRRP group then only responds to the interface or BFD session Up event after the delay expires.

Precautions
  • When the device in a VRRP group restarts, the VRRP group status may flap. It is recommended that the delay be set based on actual networking.

  • After an interface or a BFD session associated with a VRRP group alternates between Up and Down states, the system only records logs and alarms at one time during each delay. This prevents the same alarms from being displayed repeatedly.

Example

# Set the delay before a VRRP group recovers to 5 seconds.

<HUAWEI> system-view
[HUAWEI] vrrp recover-delay 5
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >