If an IPv4 static route is associated with a network quality analysis (NQA) test instance, NQA tests the link status periodically. If NQA detects a fault along the associated IPv4 static route, the IPv4 static route is deleted, and traffic is switched to another route.
On live networks, the link status of IPv4 static routes must be monitored in real time so that a link switchover can be performed immediately if a link fails. Bidirectional Forwarding Detection (BFD) for IPv4 static routes can implement detection within milliseconds. However, BFD for IPv4 static routes requires that both ends of a link support BFD.
NQA for IPv4 static routes can monitor the link status of static routes as long as one end supports NQA.
If a link fails, an NQA test instance immediately detects the fault and instructs the routing management module to delete the IPv4 static route associated with the NQA test instance from the IP routing table. Traffic is then forwarded over another link.
Currently, NQA test instances of only the ICMP or TCP type can be associated with static routes to implement fast fault detection.
Before configuring NQA for IPv4 static routes, configure parameters of the link layer protocol and IP addresses for interfaces and ensure that the link layer protocol on the interfaces is up.
The system view is displayed.
An NQA test instance is created, and the test instance view is displayed.
The test instance type is set to ICMP or TCP.
Run destination-address ipv4 destAddress
A destination address is configured.
In an NQA test instance, you can specify an NQA server by running the destination-address command to configure a destination address for the NQA test instance.
For details of optional procedures when configuring an ICMP NQA test instance, see the HUAWEI NetEngine 8000 F Series Router Configuration Guide - System Monitor.
Run commit
The configuration is committed.
The system view is displayed.
Perform either of the following operations to associate an IPv4 static route with the NQA test instance.
An IPv4 static route is associated with an NQA test instance on a public network.
An IPv4 static route is associated with an NQA test instance on a VPN.
Run the following commands to check the previous configuration.
Run the display current-configuration | include nqa command to check the configurations of NQA for static routes.
Run the display nqa results [ test-instance admin-name test-name ] command to check the NQA test results.
The NQA test results cannot be displayed automatically. You need to run the display nqa results command to view the results.