Configuring The Http Template - HP 5920 Configuration Manual

Table of Contents

Advertisement

In TCP template view, you can specify the expected data to be returned. If you do not specify the
expected data, the TCP operation only tests whether the client can establish a TCP connection to the
server.
The TCP operation requires both the NQA server and the NQA client. Before you perform a TCP
operation, configure a TCP listening service on the NQA server.
To configure the TCP template:
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.
(Optional.) 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 creates and starts the HTTP operation to measure the amount of
time it takes for 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
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 ]
143
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 command and the
expect-data command.

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

5900

Table of Contents