< Home

vrrp timer-advertise learning enable

Function

The vrrp timer-advertise learning enable command enables the device to learn the interval for sending VRRP Advertisement packets.

The vrrp timer-advertise learning disable command disables the device from learning the interval for sending VRRP Advertisement packets.

The undo vrrp timer-advertise learning enable command disables the device from learning the interval for sending VRRP Advertisement packets.

By default, the device is enabled to learn the interval for sending VRRP Advertisement packets.

Format

vrrp timer-advertise learning enable

vrrp timer-advertise learning disable

undo vrrp timer-advertise learning enable

Parameters

None

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

When a link fault triggers an active/standby switchover, VRRP smooth switching is enabled to prevent traffic loss. Before enabling VRRP smooth switching, run the vrrp timer advertise learning enable command to enable the device to learn the interval for sending VRRP Advertisement packets. Then non-master devices in the VRRP group will learn the interval at which VRRP Advertisement packets are sent and update their interval to be the same as the learned interval.

Prerequisites

A VRRP group has been created.

Precautions

If VRRP smooth switching has been enabled, running the undo vrrp timer-advertise learning enable command disables VRRP smooth switching.

The undo vrrp timer-advertise learning enable command is valid only for VRRPv2. If VRRPv3 is enabled using the vrrp version command, this function does not take effect.

Example

# Enable the device to learn the interval for sending VRRP Advertisement packets.

<HUAWEI> system-view
[HUAWEI] vrrp timer-advertise learning enable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >