R211x-HP Flexfabric 11900 Network Management and Monitoring Configuration Guide

121
Ste
p
Command
Remarks
5. Specify an HTTP login password.
password { cipher | simple }
password
By default, no HTTP login password is
specified.
6. Specify the HTTP operation type.
operation { get | post | raw }
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.
7. (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.
8. (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.
9. (Optional.) Save the input and
exit to HTTP template view.
quit N/A
10. (Optional.) Configure the
expected status codes.
expect status status-list
By default, no expected status code is
configured.
11. (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 creates and starts the FTP operation to measure the time the NQA
client uses 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:
Ste
p
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
url includes the remote hostname and filename.
When you perform the get operation, the file
name is required.
Use the format of ftp://host/filename or
ftp://host:port/filename.
4. (Optional.) Specify the
FTP operation type.
operation { get | put }
By default, the FTP operation type is get, which
means obtaining files from the FTP server.