
137
NQA configuration examples
ICMP echo operation configuration example
Network requirements
As shown in
, configure an ICMP echo operation from the NQA client Device A to Device B
to test the round-trip time. The next hop of Device A is Device C.
Figure 38 Network diagram
Configuration procedure
# Assign each interface an IP address. (Details not shown.)
# Configure static routes or a routing protocol to make sure the devices can reach each other.
(Details not shown.)
# Create an ICMP echo operation.
<DeviceA> system-view
[DeviceA] nqa entry admin test1
[DeviceA-nqa-admin-test1] type icmp-echo
# Specify the destination IP address of ICMP echo requests as 10.2.2.2.
[DeviceA-nqa-admin-test1-icmp-echo] destination ip 10.2.2.2
# Configure 10.1.1.2 as the next hop. The ICMP echo requests are sent through Device C to Device
B.
[DeviceA-nqa-admin-test1-icmp-echo] next-hop 10.1.1.2
# Configure the ICMP echo operation to perform 10 probes.
[DeviceA-nqa-admin-test1-icmp-echo] probe count 10
# Specify the probe timeout time for the ICMP echo operation as 500 milliseconds.
[DeviceA-nqa-admin-test1-icmp-echo] probe timeout 500
# Configure the ICMP echo operation to repeat at an interval of 5000 milliseconds.
[DeviceA-nqa-admin-test1-icmp-echo] frequency 5000