The nexthop configures a next hop address for NQA test packets.
The undo nexthop deletes the configured next hop address for the NQA test packets.
By default, the next hop address for the NQA test packets is obtained by searching the routing table.
Parameter | Description | Value |
---|---|---|
ipv4 ip-address | Specifies a next hop address for NQA test packets. |
The value is in dotted decimal notation. NOTE:
The specified next hop must be the physical interface directly connected to the device that sends the NQA test packets. |
Usage Scenario
In the scenario that an NQA test instance is associated with static routes, if a link becomes faulty, the NQA test instance detects this fault and then the static routes associated with the NQA test instance become Down. After the link recovers, the NQA test instance attempts to send ICMP test packets over the static routes. Because these static routes are still Down, the NQA test instance still fails to detect link connectivity. Traffic fails to be forwarded.
The nexthop command configures a next hop address for the NQA test packets, which ensures that the packets are forwarded when the link recovers from the fault, and the static routes associated with the NQA test instance are Up.
Prerequisites
Only the NQA ICMP test instance allows you to specify a next hop address for NQA test packets.
Precautions
After you configure a next hop address for an NQA ICMP test instance, the test instance packets will be sent based on the address.
You can also run the source-interface command to specify an outbound interface through which the NQA ICMP test instance packets are sent to the specified next hop address. To guarantee that the test packets are sent, the following two conditions must be met: