Configuring TCP tests

TCP tests of an NQA test group are used to test the TCP connection between the NQA client and a port on the NQA server and the time for setting up a connection. The test result helps you evaluate the availability and performance of the services provided by the port on the server.

TCP tests require cooperation between the NQA server and the NQA client. Before you start TCP tests, configure a TCP listening service on the NQA server. For more information about the TCP listening service configuration, see "."

To configure TCP tests:

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Enter NQA test group view.

nqa entry admin-name operation-tag

N/A

3. Configure the test type as TCP, and enter test type view.

type tcp

N/A

4. Configure the destination address of TCP probe packets.

destination ip ip-address

By default, no destination IP address is configured.

The destination address must be the same as the IP address of the listening service configured on the NQA server.

5. Configure the destination port of TCP probe packets.

destination port port-number

By default, no destination port number is configured.

The destination port number must be the same as that of the listening service on the NQA server.

6. Configure the source IP address of TCP probe packets.

source ip ip-address

Optional.

By default, no source IP address is specified.

The source IP address must be the IP address of a local interface. The local interface must be up. Otherwise, no probe packets can be sent out.

7. Configure optional parameters.

See ""

Optional.