What is NQA association mechanism of the AR router

16

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.

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.

How to associate VRRP and NQA on an AR router
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.

NQA association mechanism of S series switches
NQA of S series switches (except S1700 switches) in V200R001C00SPC300 and later versions can be associated with static routes and VRRP. The following is an example of associating NQA with a static route. Network connectivity and routes between devices have been configured. 1. Configure an NQA test instance. # On Switch A, configure an NQA test instance, and set the NQA test type to icmp, and the destination IP address to 172.16.1.2/24. [HUAWEI] nqa test-instance user test //Configure the administrator of the NQA test instance as user and the test instance name as test. [HUAWEI-nqa-user-test] test-type icmp //Set the NQA test type to icmp. [HUAWEI-nqa-user-test] destination-address ipv4 192.168.1.2 //Set the destination address to 192.168.1.2. [HUAWEI-nqa-user-test] frequency 10 //Set the interval at which the NQA test instance automatically runs to 10, in seconds. [HUAWEI-nqa-user-test] probe-count 2 //Set the number of probes to be sent each time to 2. [HUAWEI-nqa-user-test] interval seconds 5 //Set the interval at which probe packets are sent to 5, in seconds. [HUAWEI-nqa-user-test] timeout 4 //Set the timeout period of a probe to 4, in seconds. [HUAWEI-nqa-user-test] start now end delay seconds 10000 //Start the test instance and configure the test instance to end after 10,000 seconds. [HUAWEI-nqa-user-test] quit 2. Associate a static route with the NQA test instance. [HUAWEI] ip route-static 192.168.7.0 255.255.255.0 Vlanif 10 192.168.1.2 track nqa user test

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.

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