To do...
Display the statistics of a type of NQA
test
Display NQA server status
NQA Configuration Examples
ICMP Echo Test Configuration Example
Network requirements
As shown in
Figure
send packets to the specified destination (Device B) and test the round-trip time of packets.
Figure 2-3 Network diagram for ICMP echo tests
Configuration procedure
# Create an ICMP echo test group and configure related test parameters.
<DeviceA> system-view
[DeviceA] nqa entry admin test
[DeviceA-nqa-admin-test] type icmp-echo
[DeviceA-nqa-admin-test-icmp-echo] destination ip 10.2.2.2
# Configure optional parameters.
[DeviceA-nqa-admin-test-icmp-echo] probe count 10
[DeviceA-nqa-admin-test-icmp-echo] probe timeout 500
[DeviceA-nqa-admin-test-icmp-echo] frequency 5000
# Enable the saving of history records.
[DeviceA-nqa-admin-test-icmp-echo] history-record enable
[DeviceA-nqa-admin-test-icmp-echo] history-record number 10
[DeviceA-nqa-admin-test-icmp-echo] quit
# Enable ICMP echo test.
[DeviceA] nqa schedule admin test start-time now lifetime forever
# Disable ICMP echo test after the test begins for a period of time.
[DeviceA] undo nqa schedule admin test
# Display results of the last ICMP echo test.
[DeviceA] display nqa result admin test
NQA entry(admin admin, tag test) test results:
Destination IP address: 10.2.2.2
Send operation times: 10
Min/Max/Average round trip time: 2/5/3
Square-Sum of round trip time: 96
display nqa statistics [ admin-name
operation-tag ]
display nqa server status
2-3, use the NQA ICMP function to test whether the NQA client (Device A) can
Use the command...
Receive response times: 10
2-25
Remarks