
149
Failures due to no connection: 0
Failures due to sequence error: 0
Failures due to internal error: 0
Failures due to other errors: 0
Packet(s) arrived late: 0
# Display the history of TCP tests.
[DeviceA] display nqa history admin test
NQA entry (admin admin, tag test) history record(s):
Index Response Status Time
1 13 Succeeded 2011-01-22 10:27:25.1
UDP echo test configuration example
Network requirements
As shown in
, configure NQA UDP echo tests to test the round-trip time between Device A and
Device B. The destination port number is 8000.
Figure 50
Network diagram
Configuration procedure
NOTE:
Before you make the configuration, make sure the devices can reach each other.
1.
Configure Device B.
# Enable the NQA server, and configure a listening service to listen to IP address 10.2.2.2 and UDP port
8000.
<DeviceB> system-view
[DeviceB] nqa server enable
[DeviceB] nqa server udp-echo 10.2.2.2 8000
2.
Configure Device A.
# Create a UDP echo test group.
<DeviceA> system-view
[DeviceA] nqa entry admin test
[DeviceA-nqa-admin-test] type udp-echo
# Configure UDP packets to use 10.2.2.2 as the destination IP address and port 8000 as the destination
port.
[DeviceA-nqa-admin-test-udp-echo] destination ip 10.2.2.2
[DeviceA-nqa-admin-test-udp-echo] destination port 8000
# Enable the saving of history records.
[DeviceA-nqa-admin-test-udp-echo] history-record enable
[DeviceA-nqa-admin-test-udp-echo] quit