![Huawei AR150/200 Series Скачать руководство пользователя страница 221](http://html.mh-extra.com/html/huawei/ar150-200-series/ar150-200-series_configuration-manual_169293221.webp)
Procedure
Step 1
Configure the IP address. (The detailed procedure is not mentioned here.)
Step 2
Enable the NQA client and create an NQA HTTP test.
<RouterA>
system-view
[RouterA]
nqa test-instance admin http
[RouterA-nqa-admin-http]
test-type http
[RouterA-nqa-admin-http]
destination-address ipv4 10.2.1.1
[RouterA-nqa-admin-http]
http-operation get
[RouterA-nqa-admin-http]
http-url www.huawei.com
Step 3
Start the test.
[RouterA-nqa-admin-http]
start now
Step 4
View the test results.
[RouterA-nqa-admin-http]
display nqa results test-instance admin http
NQA entry(admin, http) :testflag is inactive ,testtype is http
Test 1 result The test is finished
SendProbe:3 ResponseProbe:3
Completion:success RTD OverThresholdsnumber: 0
MessageBodyOctetsSum: 411 TargetAddress: 10.2.1.1
DNSQueryError number: 0 HTTPError number: 0
TcpConnError number : 0 System busy operation number:0
DNSRTT Sum/Min/Max:0/0/0 TCPConnectRTT Sum/Min/Max: 4/1/2
TransactionRTT Sum/Min/Max: 3/1/1
RTT Sum/Min/Max/Avg: 7/2/3/2
DNSServerTimeout:0 TCPConnectTimeout:0 TransactionTimeout: 0
Lost packet ratio:0%
----End
Configuration Files
The configuration file of Router A is as follows:
#
sysname RouterA
#
interface Ethernet1/0/0
ip address 10.1.1.1 255.255.255.0
#
nqa test-instance admin http
test-type http
destination-address ipv4 10.2.1.1
http-url www.huawei.com
#
return
6.20.6 Example for Configuring the DNS Test
This part provides examples for configuring a DNS test to check the DNS resolution speed.
Networking Requirements
As shown in
, Router A functions as a DNS client to access the host 10.2.1.1/24, using
a domain name server.com.
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.
210