Nqa collaboration configuration example, Network requirements, Configuration procedure – H3C Technologies H3C SecPath F1000-E User Manual
Page 109
43
NQA Collaboration Configuration Example
Network requirements
As shown in
, configure a static route to Device C on Device A, with Device B as the next hop.
Associate the static route, track entry, and NQA test group to verify whether the static route is active in
real time.
Figure 14 Network diagram for NQA collaboration configuration example
Configuration procedure
Step1
Assign each interface an IP address. (omitted)
Step2
On Device 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.
[DeviceA] ip route-static 10.1.1.2 24 10.2.1.1 track 1
Step3
On Device A, create an NQA test group.
# Create an NQA test group with the administrator name being admin and operation tag being test.
[DeviceA] nqa entry admin test
# Configure the test type of the NQA test group as ICMP echo.
[DeviceA-nqa-admin-test] type icmp-echo
# Configure the destination IP address of the ICMP echo test operation as 10.2.1.1.
[DeviceA-nqa-admin-test-icmp-echo] destination ip 10.2.1.1
# Configure the interval between two consecutive tests as 100 milliseconds.
[DeviceA-nqa-admin-test-icmp-echo] frequency 100
# Create reaction entry 1. If the number of consecutive probe failures reaches 5, collaboration with other
modules is triggered.
[DeviceA-nqa-admin-test-icmp-echo] reaction 1 checked-element probe-fail threshold-type
consecutive 5 action-type trigger-only
[DeviceA-nqa-admin-test-icmp-echo] quit
# Configure the test start time and test duration for the test group.
[DeviceA] nqa schedule admin test start-time now lifetime forever
Step4
8On Device A, create the track entry.
# Create track entry 1 to associate it with Reaction entry 1 of the NQA test group (admin-test).