VRRP Association with NQA

Background

To improve network reliability, VRRP can be configured on a device to track the following objects:
  • Interface

  • EFM session

  • BFD session

Failure of a tracked object can trigger a rapid master/backup VRRP switchover to ensure service continuity.

In Figure 1, however, if Interface 2 on Device C goes Down and its IP address (10.3.1.1) becomes unreachable, VRRP is unable to detect the fault. As a result, user traffic is dropped.

Figure 1 VRRP networking

To resolve the preceding issue, you can associate VRRP with network quality analysis (NQA). Using test instances, NQA sends probe packets to check the reachability of destination IP addresses. After VRRP is associated with an NQA test instance, VRRP tracks the NQA test instance to implement rapid master/backup VRRP switchovers. For the example shown in the preceding figure, you can configure an NQA test instance on Device A to check whether the IP address 10.3.1.1 of Interface 2 on Device C is reachable.

VRRP association with an NQA test instance is required on only the local device (Device A).

Implementation

You can configure VRRP association with an NQA test instance to track a gateway router's uplink, which is a cross-device link. If the uplink fails, NQA instructs VRRP to reduce the gateway router's priority by a specified value. Reducing the priority enables another gateway router in the VRRP group to take over services and become the master, thereby ensuring communication continuity between hosts on the LAN served by the gateway and the external network. After the uplink recovers, NQA instructs VRRP to restore the gateway router's priority.

Figure 2 illustrates VRRP association with an NQA test instance.
Figure 2 VRRP association with an NQA test instance
As shown in Figure 2:
  • Device A and Device B run VRRP.
  • An NQA test instance is created on Device A to detect the reachability of the destination IP address 10.3.1.1.
  • VRRP is configured on Device A to track the NQA test instance. If the status of the NQA test instance is Failed, Device A reduces its priority to trigger a master/backup VRRP switchover. A VRRP group can track a maximum of eight NQA test instances.
The implementation is as follows:
  1. Device A tracks the NQA test instance periodically and sends VRRP Advertisement packets to notify its status to Device B.

  2. When the uplink fails, the status of the NQA test instance changes to Failed. NQA notifies VRRP of the link detection failure, and Device A reduces its priority by a specified value. Because Device B has a higher priority than Device A, Device B preempts the Master state and takes over services.
  3. When the uplink recovers, the status of the NQA test instance changes to Success. NQA notifies VRRP of the link detection success, and Device A restores the original priority. If preemption is enabled on Device A, Device A preempts the Master state and takes over services after VRRP negotiation.

Benefits

VRRP association with NQA implements a rapid master/backup VRRP switchover if a cross-device uplink fails.

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