![Huawei AR150/200 Series Configuration Manual Download Page 175](http://html.mh-extra.com/html/huawei/ar150-200-series/ar150-200-series_configuration-manual_169293175.webp)
Context
Do as follows on the NQA client:
Procedure
Step 1
Run:
system-view
The system view is displayed.
Step 2
Run:
snmp-agent
The SNMP agent function is enabled.
Step 3
Run:
nqa
test-instance
admin-name
test-name
An NQA test instance is created and the test instance view is displayed.
Step 4
Run:
test-type
snmp
The test type is set to SNMP Query.
Step 5
Run:
destination-address
ipv4
ip-address
The destination IP address, that is, the IP address of the SNMP agent, is configured.
NOTE
The SNMP function must be enabled on the destination host; otherwise, the destination host fails to receive
Echo packets.
Step 6
(Optional) Perform the following as required to configure other parameters for the SNMP test
( For detailed parameter configurations, see the chapter
Configuring Universal NQA Test
):
l
To configure the VPN instance to be tested, run the
vpn-instance
vpn-instance-name
command.
l
To configure the source IP address, run the
source-address
ipv4
ip-address
command.
l
To configure the source port number, run the
source-port
port-number
command.
l
To configure the interval for sending test packets, run the
interval
seconds
interval
command.
l
To configure the percentage of the failed NQA tests, run the
fail-percent
percent
command.
l
To configure the NQA test packets to be sent without searching the routing table, run the
sendpacket passroute
command.
Step 7
Run:
start
The NQA test is started.
Select the start mode as required because the
start
command has several forms.
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.
164