< Home

(Optional) Configuring VRRP6 Smooth Switching

Context

On a network where VRRP6 groups are configured, the master and backup cannot communicate in real time during the active/standby switchover of the master in the stack system. When the master fails, a backup becomes the master. When the original master recovers, it preempts to be the master again because its priority is higher than the priority of the original backup. The system is busy during the switchover, so Hello packets of the master cannot be sent to the backup. The backup cannot receive the Hello packets, and then preempts to be the master. Packets are lost during this process.

Enabling VRRP6 smooth switching on a switch in the stack system can optimize the VRRP6 performance and reduce the impact on user traffic.

After VRRP6 smooth switching is enabled, the learning function takes precedence over the preemption function. Therefore, the VRRP6 group status is not switched and service traffic is not affected.

VRRP6 smooth switching must be configured on each device of a VRRP6 group.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run vrrp timer-advertise learning enable

    The device is enabled to learn the interval at which VRRP6 Advertisement packets are sent.

    By default, this function is enabled.

  3. Run vrrp smooth-switching timer timer-value

    VRRP6 smooth switching is enabled, and the interval contained in VRRP6 Advertisement packets during VRRP6 smooth switching is configured.

    By default, VRRP6 smooth switching is enabled and the interval contained in VRRP6 Advertisement packets is 100s.

    The learning function must be enabled before this command is run. When the learning function is disabled, VRRP6 smooth switching is also disabled.

    • If the interval for sending VRRP6 Advertisement packets on the master is much longer than that on the backup, the Master_Down_Interval timer is reset after the backup is restarted and the interface recovers. The master may not send VRRP6 Advertisement packets after the Master_Down_Interval timer expires. In this case, the backup becomes the master, and two masters exist in the group.
    • During VRRP6 smooth switching, the master sends VRRP6 Advertisement packets at the configured interval. If the time for VRRP6 smooth switching (for example, 1s) is shorter than the interval for sending VRRP6 Advertisement packets (for example 10s), VRRP6 Advertisement packets are sent at the configured interval (10s in this example). However, the interval contained in the VRRP6 Advertisement packet is equal to the time for VRRP6 smooth switching (1s in this example). As a result, the VRRP6 group status frequently flaps.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >