How to associate VRRP and NQA on an AR router

1

On an AR router, use VRRP and NQA association to detect uplink faults and switch over between master/backup gateways. The configuration roadmap is as follows:
1. Configure IP addresses and routing protocols for different device interfaces to enable network-layer routers to be reachable.
2. Configure a VRRP group on Router A and Router B. Set priority to 120 and preemption delay to 20s on Router A and configure Router A as a master device. Set priority to a default value and configure Router B as a backup device to implement active/standby backup of gateways.
3. On Router A, configure an ICMP-type NQA test case and an IP address of a Router E interface as the destination, and check the link connectivity between Router A and Router E interfaces.
4. On Router A, configure VRRP and NQA association. When the NQA detects a link fault, it triggers the VRRP group to implement master/backup switchover.
For details about the configuration, see the URL: Example for Configuring Association Between VRRP and NQA to Monitor the Uplink Status.

Other related questions:
Do VRRP configuration and NQA configuration on an AR router conflict
On an AR router, use VRRP and NQA association to detect uplink faults and switch over between master/backup gateways. The configurations do not conflict. For details about the configuration, see the URL: Example for Configuring Association Between VRRP and NQA to Monitor the Uplink Status.

What is NQA association mechanism of the AR router
NQA association mechanism: Association indicates that NQA provides detection and notifies the associated module of the detection result. Then the associated module processes services based on the detection result. NQA can be associated with VRRP, static route, backup interface, IGMP proxy, IP address pool, DNS server, and PBR. Static route is used as an example: A static route with the next hop address of 192.168.0.88 is configured. If the next hop address of 192.168.0.88 is reachable, the static route is valid. If the next hop address of 192.168.0.88 is unreachable, the static route is invalid. After association is configured, the static route can be determined in real time. If NQA detects that the next hop address of 192.168.0.88 is unreachable, NQA notifies the static route module. The static route module determines that the static route is invalid.

Example for associating a static route with NQA on the AR router
Requirements: There are two egresses from the AR to the destination network segment. By default, services are transmitted through the primary egress. If the primary egress fails, services are switched to the backup egress. Because intermediate devices are deployed, the AR may not detect the fault of the intermediate link or device. In this case, services cannot be immediately switched to the backup link, causing service interruptions. The procedure for associating NQA with static route on the AR router is as follows: 1. Configure an NQA test instance of ICMP. 2. Associate the static route with the NQA test instance. Example: Associate the static route with the NQA test instance admin test. When the destination IP address is unreachable, the static route is ineffective. [HUAWEI] nqa test-instance admin test //The test instance administrator is admin. Associate the static route with the NQA test instance and the test instance name is test. The two parameters can be user-defined. [HUAWEI-nqa-admin-test] test-type icmp //Configure the NQA test instance of ICMP. [HUAWEI-nqa-admin-test] destination-address ipv4 192.168.10.1 //Configure the destination address of the NQA test instance. [HUAWEI-nqa-admin-test] frequency 10 //Configure the interval between two tests. [HUAWEI-nqa-admin-test] probe-count 2 //Configure the probe count. [HUAWEI-nqa-admin-test] start now //Start the NQA test instance immediately. [HUAWEI-nqa-admin-test] q [HUAWEI] ip route-static 10.0.0.0 255.255.0.0 192.168.0.254 track nqa admin test //sociate the static route with the NQA test instance. [HUAWEI] ip route-static 10.0.0.0 255.255.0.0 192.168.1.254 preference 80 //Configure the static route of 10.0.0.0/16 and set the priority to 80.

How do I configure association between VRRP and NQA test instances on an S series switch
To configure association between VRRP and NQA test instances on an S series switch (except the S1700), perform the following operations: 1. Run the system-view command to enter the system view. 2. Run the interface interface-type interface-number[.subinterface-number ] command to enter the view of the interface to which the VRRP group belongs. 3. Run the vrrp vrid virtual-router-id track nqa admin-name test-name [ reduced value-reduced ] command to configure VRRP to track an NQA test instance. By default, when the tracked NQA test instance becomes Down, the priority decreases by 10. reduced value-reduced: specifies the value by which the VRRP priority reduces if the tracked NQA test instance becomes Down. The value ranges from 1 to 255. The minimum value of the priority is 0. Priority value 0 is reserved for special use. If a backup device receives a VRRP IPv6 Advertisement packet carrying the priority value of 0, the backup device immediately preempts the Master state. Note: The NQA function is controlled by a license. The commands related to NQA can be used on a newly purchased device but does not take effect. To use the NQA function, apply for and purchase a license from a Huawei local office. VRRP can also associate with BFD or a routing protocol to implement an active/standby switchover. For detailed configuration procedure, see section "Common VRRP Operations" at S1720&S2700&S3700&S5700&S6700&S7700&S9700 Common Operation Guide. The configuration method for the S9300 is the same as that for other switch models.

Method used to configure association between the static route and NQA on the AR router
The procedure for configuring association between the static route and NQA on the AR router is as follows: Networking example: RouterA (10.1.1.1)-----(10.1.1.2) RouterB (10.2.2.0/24)---- Requirements: Association between the static route and NQA needs to be configured from RouterA to the network segment of 10.2.2.0/24. 1. Enable the NQA function on RouterA. The NQA test instance of ICMP type is used as an example: [RouterA] nqa test-instance admin icmp //Create an NQA test instance, with the administrator name admin and test instance name icmp. [RouterA-nqa-admin-icmp] test-type icmp //Specify the test instance type as ICMP. [RouterA-nqa-admin-icmp] destination-address ipv4 10.1.1.2 //Specify the IP address of the remote end. [RouterA-nqa-admin-icmp] start now //Start the NQA test instance. 2. Configure a static route and associate it with the NQA test instance. [RouterA]ip route-static 10.2.2.0 24 10.1.1.2 track nqa admin icmp Note: 1. Before configuring association between the IPv4 static route and NQA test instance, configure link layer protocol parameters of the interface so that the link protocol status is Up. 2. When NQA is associated with the static route, only the ICMP test instance can be used to check whether a route from the source to the destination is reachable. 3. When the static route is associated with NQA, the destination address of the NQA test instance must be different from that of the static route. 4. If the static route that has been associated with one NQA test instance is associated with another NQA test instance, the static route is disassociated from the original NQA test instance.

If you have more questions, you can seek help from following ways:
To iKnow To Live Chat
Scroll to top