R2511-HP MSR Router Series Network Management and Monitoring Configuration Guide(V5)

140
Failures due to no connection: 0
Failures due to sequence error: 0
Failures due to internal error: 0
Failures due to other errors: 0
Packet(s) arrived late: 0
# Display the history records of the DLSw operation.
[DeviceA] display nqa history admin test1
NQA entry (admin admin, tag test1) history record(s):
Index Response Status Time
1 19 Succeeded 2011-11-22 10:40:27.7
The output shows that the response time of the DLSw device is 19 milliseconds.
NQA collaboration configuration example
Network requirements
As shown in Figure 49, configure a static route to Router C with Router B as the next hop on Router A.
Associate the static route, a track entry, and an NQA operation to monitor the state of the static route.
Figure 49 Network diagram
Configuration procedure
1. Assign each interface an IP address. (Details not shown.)
2. On Router A, configure a static route, and associate the static route with track entry 1.
<RouterA> system-view
[RouterA] ip route-static 10.1.1.2 24 10.2.1.1 track 1
3. On Router A, configure an ICMP echo operation:
# Create an NQA operation with the administrator name admin and operation tag test1.
[RouterA] nqa entry admin test1
# Configure the NQA operation type as ICMP echo.
[RouterA-nqa-admin-test1] type icmp-echo
# Configure 10.2.2.1 as the destination IP address.
[RouterA-nqa-admin-test1-icmp-echo] destination ip 10.2.1.1
# Configure the operation to repeat at an interval of 100 milliseconds.
[RouterA-nqa-admin-test1-icmp-echo] frequency 100
# Create reaction entry 1. If the number of consecutive probe failures reaches 5, collaboration is
triggered.