< Home

nqa-server tcpconnect

Function

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.

Format

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 }

Parameters

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.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

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.

Example

# Create an NQA TCP monitoring server with an IP address of 10.10.10.1 and a port number of 2000.

<sysname> system-view
[sysname] nqa-server tcpconnect 10.10.10.1 2000
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >