beautypg.com

Configuring the tcp template – H3C Technologies H3C MSR 5600 User Manual

Page 43

background image

30

Step Command

Remarks

6.

Configure the domain name
resolution type.

resolve-type { A | AAAA }

By default, the type is type A.
A type A query resolves a

domain name to a mapped IPv4
address, and a type AAAA

query to a mapped IPv6

address.

7.

(Optional.) Configure the
source port for probe packets. source port port-number

By default, no source port
number is configured.

8.

(Optional.) Specify the IPv4 or
IPv6 address that is expected to

be returned.

IPv4 address:
expect ip ip-address

IPv6 address:

expect ipv6 ipv6-address

By default, no expected IP
address is specified.

Configuring the TCP template

A feature that uses the TCP template creates and starts the TCP operation to determine whether the NQA

client can establish a TCP connection to a specific interface on the server, and whether the service on the
interface of the server is available.
In TCP template view, you can specify the expected data to be returned. If the returned data is the same

as the expected data, the server is valid and the operation succeeds. Otherwise, the operation fails. 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 Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Create a TCP template and
enter its view.

nqa template tcp name N/A

3.

(Optional.) Specify the
destination IPv4 or IPv6

address of the operation.

IPv4 address:

destination ip ip-address

IPv6 address:

destination ipv6 ipv6-address

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.

4.

(Optional.) Configure the

destination port number for the
operation.

destination port port-number

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.

5.

Specify the string to be filled in
the payload of each request.

data-fill string

The default setting is the
hexadecimal number

00010203040506070809.

This manual is related to the following products: