The nqa-server tcpconnect command configures a Transmission Control Protocol (TCP) server for an NQA test.
The undo nqa-server tcpconnect command restores the default setting.
nqa-server tcpconnect [ vpn-instance vpn-instance-name ] ip-address port-number
undo nqa-server tcpconnect { all | [ vpn-instance vpn-instance-name ] ip-address port-number }
| Parameter | Description | Value |
|---|---|---|
| vpn-instance vpn-instance-name | Specifies the VPN instance which the TCP server belongs to. | - |
| all | Indicates a TCP server for all NQA test instances. | - |
| ip-address | Specifies the IP address of the NQA server for monitoring TCP services. | The value is in dotted decimal notation. |
| port-number | Specifies the port number of the NQA server for monitoring TCP services. | The value is an integer ranging from 1 to 65535. The configured port cannot be a well-known port or occupied by other modules. |
Usage Scenario
The NQA TCP test is used to detect the rate at which a TCP connection is set up between an NQA client and a TCP server through the three-way handshake. In a TCP test instance, a TCP server needs to be configured on the server end to respond to probe packets.
Configuration Impact
Running the undo nqa-server tcpconnect all command will delete the TCP server for all NQA instances.
Precautions
A TCP server is only configured in a TCP test instance.