What are the requirements for the static route that is associated with an NQA

11

The destination address of an NQA test instance cannot be the destination address of an associated static route.

Other related questions:
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.

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.

Do CE series switches support association between static routes and NQA test instances
Except the CE6810LI, all other CE series switches support association between static routes and NQA test instances. You can run the ip route-static ip-address { mask | mask-length } { nexthop-address | vpn-instance vpn-instance-name nexthop-address } track nqa admin-name test-name command to specify the administrator name of the NQA test instance bound to a static route and the name of the NQA test instance.

Example of ineffective association between NAQ and static routes
Two situations for ineffective association between NAQ and static routes: Symptom: The destination IP address of the NQA test instance is unreachable, but the static route associated with the NQA test instance still exists. (1) Root cause analysis 1: For the static route associated with the NQA test instance, the static route is withdrawn only when the NQA test result is failed. The display nqa history command displays timeout, which does not indicate that the NQA test result is failed. Solution: For the static route associated with the NQA test instance, the static route is withdrawn only when the NQA test result is failed. For details, see Example of ineffective association between NAQ and static routes(1). (2) Root cause analysis 2: When the NQA result is failed, the associated static route must be withdrawn. The same route that exists in the routing table is the route of another routing protocol. For details, see Example of ineffective association between NAQ and static routes(2).

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