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
( For detailed parameter configurations, see the chapter
Configuring Universal NQA Test
):
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-number
command.
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
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.
l
To perform the NQA test immediately, run the
start
now
[
end
{
at
[
yyyy
/
mm
/
dd
]
hh
:
mm
:
ss
|
delay
{
seconds
second
|
hh
:
mm
:
ss
} |
lifetime
{
seconds
second
|
hh
:
mm
:
ss
} } ]
command.
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.
156