< Home

Configuring Association Between VRRP6 and the Interface Status to Implement an Active/Standby Switchover

Context

When the uplink interface of the master becomes faulty, VRRP6 cannot detect the status change of interfaces not in the VRRP6 group, causing service interruption. You can associate a VRRP6 group with the interface status. When the monitored interface is faulty, the priority of the master is reduced. This triggers an active/standby switchover and reduces the impact of the uplink interface fault on service forwarding.

When the fault is rectified, the original master restores its priority and becomes the master again to forward traffic.

The master and backup in the VRRP6 group must work in preemption mode. It is recommended that the preemption delay be 0 on the backup and non-zero on the master.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run interface interface-type interface-number

    The view of the interface on the master where a VRRP6 group is configured is displayed.

  3. (Optional) On an Ethernet interface, run undo portswitch

    The interface is switched to Layer 3 mode.

    By default, an Ethernet interface works in Layer 2 mode.

    Only the S5720-EI, S5720-HI, S5730-HI, S5731-H, S5731-S, S5731S-H, S5731S-S, S5732-H, S6720-EI, S6720-HI, S6720S-EI, S6730-H, S6730S-H, S6730-S, and S6730S-S support switching between Layer 2 and Layer 3 modes.

  4. Run vrrp6 vrid virtual-router-id track interface interface-type interface-number [ increased value-increased | reduced value-reduced ]

    Association between VRRP6 and the interface status is configured.

    If the IPv4 protocol status on the monitored interface configured with an IPv4 address changes, the priority of the master is reduced. If the IPv6 protocol status on the monitored interface configured with an IPv6 address changes, the VRRP6 group remains unchanged.

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