Configuration procedure – H3C Technologies H3C SecPath F1000-E User Manual
Page 305
22
Figure 5 Network diagram for static routing-track-NQA collaboration configuration
GE1/2
10.2.1.2/24
GE1/1
10.1.1.2/24
GE1/1
10.1.1.1/24
Device B
Device A
Device C
GE1/2
10.3.1.1/24
GE1/1
10.3.1.3/24
GE1/2
10.4.1.3/24
Device D
GE1/1
10.2.1.4/24
GE1/2
10.4.1.4/24
30.1.1.0/24
20.1.1.0/24
GE1/3
20.1.1.1/24
GE1/3
30.1.1.1/24
Configuration procedure
Step1
Configure the IP address of each interface as shown in
.
Step2
Configure Device A
# Configure a static route to 30.1.1.0/24, with the address of the next hop as 10.1.1.2 and the default
priority 60. This static route is associated with track entry 1.
[DeviceA] ip route-static 30.1.1.0 24 10.1.1.2 track 1
# Configure a static route to 30.1.1.0/24, with the address of the next hop as 10.3.1.3 and the priority
80.
[DeviceA] ip route-static 30.1.1.0 24 10.3.1.3 preference 80
# Configure a static route to 10.2.1.4, with the address of the next hop as 10.1.1.2.
[DeviceA] ip route-static 10.2.1.4 24 10.1.1.2
# Create an NQA test group with the administrator admin and the operation tag test.
[DeviceA] nqa entry admin test
# Configure the test type as ICMP-echo.
[DeviceA-nqa-admin-test] type icmp-echo
# Configure the destination address of the test as 10.2.1.4 and the next hop address as 10.1.1.2 to check
the connectivity of the path from Device A to Device B, and then to Device D through NQA.
[DeviceA-nqa-admin-test-icmp-echo] destination ip 10.2.1.4
[DeviceA-nqa-admin-test-icmp-echo] next-hop 10.1.1.2
# Configure the test frequency as 100 ms.
[DeviceA-nqa-admin-test-icmp-echo] frequency 100