R3204P16-HP Load Balancing Module High Availability Configuration Guide-6PW101
70
NQA configuration examples
ICMP echo test configuration example
Network requirements
As shown in Figure 34, configure NQA ICMP echo tests to test whether the NQA client (LB module) can
send packets through a specified next hop to a specified destination (Device) and test the round-trip time
of the packets.
Figure 34 Network diagram for ICMP echo tests
Configuration procedure
NOTE:
Before you make the configuration, make sure the devices can reach each other.
# Create an ICMP echo test group and specify 10.2.2.2 as the destination IP address for ICMP echo
requests to be sent.
<LB> system-view
[LB] nqa entry admin test
[LB-nqa-admin-test] type icmp-echo
[LB-nqa-admin-test-icmp-echo] destination ip 10.2.2.2
# Configure the device to perform 10 probe operations per test, perform tests at an interval of 5000
milliseconds. Set the NQA probe timeout time as 500 milliseconds.
[LB-nqa-admin-test-icmp-echo] probe count 10
[LB-nqa-admin-test-icmp-echo] probe timeout 500
[LB-nqa-admin-test-icmp-echo] frequency 5000
# Enable the saving of history records and configure the maximum number of history records that can be
saved for a test group.
[LB-nqa-admin-test-icmp-echo] history-record enable
[LB-nqa-admin-test-icmp-echo] history-record number 10
[LB-nqa-admin-test-icmp-echo] quit
# Start ICMP echo tests.
[LB] nqa schedule admin test start-time now lifetime forever
# Stop the ICMP echo tests after a period of time.
[LB] undo nqa schedule admin test
# Display the results of the last ICMP echo test.
[LB] display nqa result admin test
[LB] display nqa result admin test
NQA entry(admin admin, tag test) test results:
Destination IP address: 10.2.2.2