Configuration Roadmap
The configuration roadmap is as follows:
1.
Configure Router A as an NQA client.
2.
Enable SNMP agent on Router A.
3.
Create and perform an SNMP Query test on Router A.
4.
Enable SNMP agent on Router C.
Data Preparation
To complete the configuration, you need to configure the IP address of the SNMP agent.
Procedure
Step 1
Configure reachable routes between Router A, Router B, and Router C. (The detailed procedure
is not mentioned here.)
Step 2
Enable SNMP agent on Router C.
<RouterC>
system-view
[RouterC]
snmp-agent
Step 3
Enable SNMP agent on Router A.
<RouterA>
system-view
[RouterA]
snmp-agent
[RouterA]
quit
Step 4
Create an SNMP Query test on Router A.
<RouterA>
system-view
[RouterA]
nqa test-instance admin snmp
[RouterA-nqa-admin-snmp]
test-type snmp
[RouterA-nqa-admin-snmp]
destination-address ipv4 10.2.1.2
Step 5
Start the test.
[RouterA-nqa-admin-snmp]
start now
Step 6
View the test results.
[RouterA-nqa-admin-snmp]
display nqa results test-instance admin snmp
NQA entry(admin, snmp) :testflag is inactive ,testtype is snmp
1 . Test 1 result The test is finished
Send operation times: 3 Receive response times: 3
Completion:success RTD OverThresholds number: 0
Attempts number:0 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.2.1.2
Min/Max/Average Completion Time: 63/172/109
Sum/Square-Sum Completion Time: 329/42389
Last Good Probe Time: 2006-8-5 15:33:49.1
Lost packet ratio: 0 %
----End
Configuration Files
l
Configuration file of Router A
#
sysname RouterA
#
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.
215