Procedure
Step 1 Run:
system-view
The system view is displayed.
Step 2 Run:
nqa test-instance admin-name test-name
An NQA test is created and the view is displayed.
Step 3 Run:
test-type http
The test type is set to HTTP.
Step 4 Run:
destination-address ipv4 ip-address
The destination IP address is configured.
Step 5 (Optional) Perform the following as required to configure other parameters for the HTTP 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, run the source-port port-numbercommand.
l To configure the destination port, run the destination-port port-number command.
l To configure the percentage of the failed NQA HTTP tests, run the fail-percent percent
command.
l To configure the NQA test packet to be sent without searching the routing table, run the
sendpacket passroute command.
Step 6 Run:
http-operation { get | post }
The HTTP operation type is configured.
By default, the HTTP operation type is Get.
Step 7 Run:
http-url deststring [ verstring ]
The web page to be visited and the HTTP version are configured.
NOTE
Run the http-url deststring [ verstring ] command and enter the name of the web page directly. If the input
content contains http:// and the domain name, the test may fail.
When information on the HTTP version is not configured, by default, HTTP1.0 is supported. HTTP1.1 can
be supported through your configurations.
Step 8 Run:
start
The NQA test is started.
Select the start mode as required because the start command has several forms.
6 NQA Configuration
Quidway S9300 Terabit Routing Switch
Configuration Guide - Network Management
6-20 Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
Issue 03 (2010-09-20)