Configuring The Http Template - H3C SR6600-X Configuration Manual

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

Advertisement

Step
1.
Enter system view.
2.
Create a TCP template and
enter its view.
3.
(Optional.) Specify the
destination IPv4 or IPv6
address of the operation.
4.
(Optional.) Configure the
destination port number for the
operation.
5.
Specify the string to be filled in
the payload of each request.
6.
(Optional.) Specify the source
IPv4 or IPv6 address for the
probe packets.
7.
(Optional.) Configure the
expected data.

Configuring the HTTP template

A feature that uses the HTTP template performs the HTTP operation to measure the time it takes the NQA
client to obtain data from an HTTP server.
The expected data is checked only when the expected data is configured and the HTTP response
contains the Content-Length field in the HTTP header. The Content-Length field indicates the packet body
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:
Command
system-view
nqa template tcp name
IPv4 address:
destination ip ip-address
IPv6 address:
destination ipv6 ipv6-address
destination port port-number
data-fill string
IPv4 address:
source ip ip-address
IPv6 address:
source ipv6 ipv6-address
expect data expression [ offset
number ]
34
Remarks
N/A
N/A
By default, no destination
address is specified.
The destination address must be
the same as the IP address of the
listening service configured on
the NQA server.
By default, no destination port
number is configured.
The destination port number must
be the same as the port number
of the listening service on the
NQA server.
The default setting is the
hexadecimal number
00010203040506070809.
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 data is
configured.
The expected data is checked
only when you configure both
the data-fill and expect-data
commands.

Advertisement

Table of Contents
loading

This manual is also suitable for:

R6600

Table of Contents