HP MSR2000/3000/4000 Router Series Network Management and Monitoring Command Reference

79
Examples
# Enable the NQA server.
<Sysname> system-view
[Sysname] nqa server enable
Related commands
display nqa server
nqa server tcp-connect
nqa server udp-echo
Related commands
display nqa server
nqa server enable
nqa server tcp-connect
Use nqa server tcp-connect to configure a TCP listening service to enable the NQA server to listen and
respond to the specified IP address and port.
Use undo nqa server tcp-connect to remove a TCP listening service.
Syntax
nqa server tcp-connect ip-address port-number [ tos tos ] [ vpn-instance vpn-instance-name ]
undo nqa server tcp-connect ip-address port-number
Views
System view
Predefined user roles
network-admin
Parameters
ip-address: Specifies the IP address for the TCP listening service.
port-number: Specifies the port number for the TCP listening service, in the range of 1 to 65535.
tos: Specifies the ToS value in the IP packet header of NQA probe packets. The value range is 0 to 255
and the default value is 0.
vpn-instance-name: Specifies the name of the MPLS L3VPN instance, a case-sensitive string of 1 to 31
characters. If you do not specify this argument, the NQA server listens on a public IP address.
Usage guidelines
Use this command on the NQA server for only the TCP operation.
You can use this command to specify the ToS value in the IP packet header of NQA probe packets.
The IP address and port number must be consistent with those on the NQA client and must be different
from the IP address and port number for an existing TCP listening service.
The IP address must be that of an interface on the NQA server. Otherwise, the configuration is invalid.
To ensure successful NQA operations and avoid affecting existing services, do not configure the TCP
listening service on well-known ports from 1 to 1023.