NQA Collaboration Configuration Example
As shown in
Associate the static route, track entry, and NQA test group to verify whether static route is active in real
Figure 1-13 Network diagram for NQA collaboration configuration example
Assign each interface an IP address. (omitted)
On Switch A, configure a unicast static route and associate the static route with a track entry.
# Configure a static route, whose destination address is 10.2.1.1, and associate the static route with
track entry 1.
[SwitchA] ip route-static 10.1.1.2 24 10.2.1.1 track 1
On Switch A, create an NQA test group.
# Create an NQA test group with the administrator name being admin and operation tag being test.
[SwitchA] nqa entry admin test
# Configure the test type of the NQA test group as ICMP echo.
[SwitchA-nqa-admin-test] type icmp-echo
# Configure the destination IP address of the ICMP echo test operation as 10.2.1.1.
[SwitchA-nqa-admin-test-icmp-echo] destination ip 10.2.1.1
# Configure the interval between two consecutive tests as 100 milliseconds.
[SwitchA-nqa-admin-test-icmp-echo] frequency 100
# Create collaboration entry 1. If the number of consecutive probe failures reaches 5, collaboration with
other modules is triggered.
[SwitchA-nqa-admin-test-icmp-echo] reaction 1 checked-element probe-fail threshold-type
consecutive 5 action-type trigger-only
# Configure the test start time and test duration for the test group.
[SwitchA] nqa schedule admin test start-time now lifetime forever
On Switch A, create the Track entry.
# Create Track entry 1 to associate it with Reaction entry 1 of the NQA test group (admin-test).
1-13, configure a static route to Switch C on Switch A, with Switch B as the next hop.