R3204P16-HP Load Balancing Module High Availability Command Reference-6PW101
58
nqa server tcp-connect
Syntax
nqa server tcp-connect ip-address port-number
undo nqa server tcp-connect ip-address port-number
View
System view
Default level
2: System level
Parameters
ip-address: IP address specified for the TCP listening service on the NQA server.
port-number: Port number specified for the TCP listening service on the NQA server, which ranges from
1 to 50000.
Description
Use the nqa server tcp-connect command to create a TCP listening service on the NQA server.
Use the undo nqa server tcp-connect command to remove the TCP listening service created.
Configure the command on the NQA server for TCP tests only.
The IP address and port number must be consistent with those on the NQA client and must be different
from those for an existing listening service.
The IP address must be that of an interface on the NQA server. Otherwise, the configuration will be
invalid.
Related commands: nqa server enable and display nqa server status.
Examples
# Create a TCP listening service by using the IP address 169.254.10.2 and port 9000.
<Sysname> system-view
[Sysname] nqa server tcp-connect 169.254.10.2 9000
nqa server udp-echo
Syntax
nqa server udp-echo ip-address port-number
undo nqa server udp-echo ip-address port-number
View
System view
Default level
2: System level
Parameters
ip-address: IP address specified for the UDP listening service on the NQA server.