Configuration Roadmap
The configuration roadmap is as follows:
1.
Perform the NQA ICMP test to test whether the packet sent by Router A can reach Router
B.
2.
Perform the NQA ICMP test to obtain the RTT of the packet.
Data Preparation
To complete the configuration, you need the IP address of Router B.
Procedure
Step 1
Configure the IP address. (The detailed procedure is not mentioned here.)
Step 2
Enable the NQA client and create an NQA ICMP test.
<RouterA>
system-view
[RouterA]
nqa test-instance admin icmp
[RouterA-nqa-admin-icmp]
test-type icmp
[RouterA-nqa-admin-icmp]
destination-address ipv4 10.1.1.2
Step 3
Start the test immediately.
[RouterA-nqa-admin-icmp]
start now
Step 4
View the test results.
[RouterA-nqa-admin-icmp]
display nqa results test-instance admin icmp
NQA entry(admin, icmp) :testflag is inactive ,testtype is icmp
1 . Test 1 result The test is finished
Send operation times: 3 Receive response times: 3
Completion:success RTD OverThresholds number: 0
Attempts number:1 Drop operation number:0
Disconnect operation number:0 Operation timeout number:0
System busy operation number:0 Connection fail number:0
Operation sequence errors number:0 RTT Stats errors number:0
Destination ip address:10.1.1.2
Min/Max/Average Completion Time: 31/46/36
Sum/Square-Sum Completion Time: 108/4038
Last Good Probe Time: 2006-8-2 10:7:11.4
Lost packet ratio: 0 %
----End
Configuration Files
l
Configuration file of Router A
#
sysname RouterA
#
interface Ethernet1/0/0
ip address 10.1.1.1 255.255.255.0
#
nqa test-instance admin icmp
test-type icmp
destination-address ipv4 10.1.1.2
#
return
l
Configuration file of Router B
#
sysname RouterB
#
Huawei AR150&200 Series Enterprise Routers
Configuration Guide - Network Management
6 NQA Configuration
Issue 02 (2012-03-30)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
202