[Quidway-nqa-admin-http]
test-type http
[Quidway-nqa-admin-http]
destination-address ipv4 10.2.1.1
[Quidway-nqa-admin-http]
http-operation get
[Quidway-nqa-admin-http]
http-url www.huawei.com
Step 3
Perform the test.
[Quidway-nqa-admin-http]
start now
Step 4
Verify the test result.
[Quidway-nqa-admin-http]
display nqa results
test-instance
admin http
NQA entry(admin, http) :testflag is inactive ,testtype is http
1 . Test 1 result The test is finished
SendProbe:3 ResponseProbe:3
Completions: success RTD OverThresholdsnumber: 0
MessageBodyOctetsSum: 0 TargetAddress: 10.2.1.1
DNSQueryError number: 0 HTTPError number: 0
TcpConnError number : 3 System busy operation number:0
DNSRTT Sum/Min/Max:0/0/0 TCPConnectRTT Sum/Min/Max: 0/0/0
TransactionRTT Sum/Min/Max: 11/3/4
RTT Sum/Min/Max/Avg: 18/5/7/6
DNSServerTimeout:0 TCPConnectTimeout:0 TransactionTimeout: 0
Lost packet ratio:0%
----End
Configuration Files
Configuration file of Switch
#
sysname quidway
#
vlan batch 10
#
interface Vlanif10
ip address 10.1.1.1 255.255.255.0
#
interface Ethernet0/0/1
port hybrid pvid vlan 10
port hybrid untagged vlan 10
#
nqa test-instance admin http
test-type http
destination-address ipv4 10.2.1.1
http-operation get
http-url www.huawei.com
#
ip route-static 10.2.1.0 255.255.255.0 10.1.1.2
#
return
6.19.5 Example for Configuring the DNS Test
Networking Requirements
As shown in
, Switch functions as the DNS client to access the host whose IP address
is 10.2.1.1/24 through a domain named
server.com
.
Quidway S2700 Series Ethernet Switches
Configuration Guide - Network Management
6 NQA Configuration
Issue 01 (2011-07-15)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
312