
134
Step Command
Remarks
type.
raw
}
is
get
, which means obtaining data
from the HTTP server.
In the HTTP raw operation, use the
raw-request
command to specify the
content of the GET request to be sent
to the HTTP server.
7.
Specify the HTTP version.
version
{
v1.0
|
v1.1
}
By default, HTTP 1.0 is used.
8.
(Optional.) Enter raw request
view.
raw-request
This step is required for the raw
operation.
Every time you enter the raw request
view, the previously configured
content of the GET request is
removed.
9.
(Optional.) Enter or paste the
content of the GET request for
the HTTP operation.
N/A
This step is required for the raw
operation.
By default, no contents are specified.
10.
(Optional.) Save the input and
exit to HTTP template view.
quit
N/A
11.
(Optional.) Specify the source
IPv4 or IPv6 address for the
probe packets.
•
IPv4
address:
source ip
ip-address
•
IPv6
address:
source ipv6
ipv6-address
By default, no source IP address is
specified.
The source IP address must be the IP
address of a local interface, and the
interface must be up. Otherwise, no
probe packets can be sent out.
12.
(Optional.) Configure the
expected status codes.
expect status status-list
By default, no expected status code
is configured.
13.
(Optional.) Configure the
expected data.
expect data expression
[
offset
number
]
By default, no expected data is
configured.
Configuring the FTP template
A feature that uses the FTP template performs the FTP operation. The operation measures the time
it takes the NQA client to transfer a file to or download a file from an FTP server.
Configure the username and password for the FTP client to log in to the FTP server before you
perform an FTP operation. For information about configuring the FTP server, see
Fundamentals
Configuration Guide
.
To configure the FTP template:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Create an FTP template
and enter its view.
nqa template ftp name
N/A
3.
Specify the URL of the
destination FTP server.
url url
By default, no URL is specified for
the destination FTP server.
Enter the URL in one of the following
formats:
•
ftp://
host
/
filename.
•
ftp://
host
:
port
/
filename.
When you perform the
get