Configuring The Ftp Template - H3C SR6600-X Configuration Manual

Hide thumbs Also See for SR6600-X:
Table of Contents

Advertisement

Step
1.
Enter system view.
2.
Create an HTTP template and
enter its view.
3.
Specify the URL of the
destination HTTP server.
4.
Specify an HTTP login
username.
5.
Specify an HTTP login
password.
6.
Specify the HTTP operation
type.
7.
(Optional.) Enter raw request
view.
8.
(Optional.) Enter or paste the
content of the GET request for
the HTTP operation.
9.
(Optional.) Save the input and
exit to HTTP template view.
10.
(Optional.) Specify the source
IPv4 or IPv6 address for the
probe packets.
11.
(Optional.) Configure the
expected status codes.
12.
(Optional.) Configure the
expected data.

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.
Command
system-view
nqa template http name
url url
username username
password { cipher | simple }
password
operation { get | post |
raw }
raw-request
N/A
quit
IPv4 address:
source ip ip-address
IPv6 address:
source ipv6
ipv6-address
expect status status-list
expect data expression
[ offset number ]
35
Remarks
N/A
N/A
By default, no URL is specified for the
destination HTTP server.
Enter the URL in one of the following
formats:
http://host/resource.
http://host:port/resource.
By default, no HTTP login username is
specified.
By default, no HTTP login password is
specified.
By default, the HTTP operation type 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.
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.
This step is required for the raw
operation.
By default, no contents are specified.
N/A
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.
By default, no expected status code is
configured.
By default, no expected data is
configured.

Advertisement

Table of Contents
loading

This manual is also suitable for:

R6600

Table of Contents