Method used to configure association between the static route and NQA on the AR router

13

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.

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

Method used to configure a static route on the AR router
The procedure for configuring static route on the AR router is as follows: - Use command lines. [RouterA] ip route-static 0.0.0.0 0.0.0.0 1.1.4.2 //Configure a default route that is often used at the egress of a small-sized company. The address 1.1.4.2 is the gateway address of the carrier. When the specific route cannot be matched, data flows are forwarded to 1.1.4.2. If the device has only one default route, all the data packets are forwarded to 1.1.4.2 by default. [RouterB] ip route-static 1.1.3.0 255.255.255.0 1.1.4.6 //Configure the route to network segment 1.1.3.0/24. The next hop of the route is 1.1.4.6, which is the specific route but not the default route. Use the web platform. For details, see Example for Configuring IPv4 Static Routes .

Whether AR routers support association between static routes and BFD
All AR models support association between static routes and BFD.

What are the requirements for the static route that is associated with an NQA
The destination address of an NQA test instance cannot be the destination address of an associated static route.

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