HP 5920 Configuration Manual page 154

Table of Contents

Advertisement

length, and it does not include the header length. An HTTP packet with this field indicates that the packet
data does not include the multipart type and the packet body is a data type.
The status code of the HTTP packet is a three-digit field in decimal notation, and it includes the status
information for the HTTP server. The first digit defines the class of response, and the last two digits do not
have any categorization role.
Configure the HTTP server before you perform the HTTP operation.
To configure the HTTP template:
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.
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
144
Remarks
N/A
N/A
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.

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

5900

Table of Contents