The nqa-server tcpconnect command configures the IP address and port number for the TCP server in an NQA TCP test instance.
The undo nqa-server tcpconnect command deletes the IP address and port number configured for the TCP server in an NQA TCP test instance.
By default, no IP address or port number is configured for the TCP server in an NQA TCP test instance.
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 name of the VPN instance to which the TCP server
belongs. NOTE:
This parameter is invalid when a loopback address is specified as the TCP server address. |
The value must be an existing VPN instance name. |
all | Indicates all TCP listening addresses and port numbers. | - |
ip-address | Specifies the IP address of the TCP server for monitoring TCP services. | The value is in dotted decimal notation. |
port-number | Specifies the port number of the TCP server for monitoring TCP services. | The value is an integer that ranges from 1 to 65535. The configured port cannot be a well-known port or used 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.
If the client and the server are connected through a VPN, you need to specify the VPN instance name.
Configuration Impact
Running the undo nqa-server tcpconnect all command will delete the IP address and port number of the TCP server.
Precautions
A TCP server is configured only in a TCP test instance.