R0106-HP MSR Router Series Network Management and Monitoring Command Reference(V7)
80
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 tos: Specifies the ToS value in the IP header for reply packets. The value range for the tos argument
is 0 to 255, and the default value is 0.
vpn-instance vpn-instance-name: Specifies an MPLS L3VPN instance by its name, a case-sensitive string
of 1 to 31 characters. If you do not specify this option, the NQA server listens on a public IP address.
Usage guidelines
Use this command on the NQA server for only the TCP operation.
When you configure the IP address and port number for a TCP listening service on the NQA server,
follow these restrictions and guidelines:
• The IP address and port number must be unique on the NQA server and match the configuration on
the NQA client.
• 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.
Examples
# Configure a TCP listening service to enable the NQA server to listen and respond to the IP address
169.254.10.2 and port 9000.
<Sysname> system-view
[Sysname] nqa server tcp-connect 169.254.10.2 9000
Related commands
• display nqa server
• nqa server enable
nqa server udp-echo
Use nqa server udp-echo to configure a UDP listening service to enable the NQA server to listen and
respond on the specified IP address and port.
Use undo nqa server udp-echo to remove the UDP listening service created.
Syntax
nqa server udp-echo ip-address port-number [ tos tos ] [ vpn-instance vpn-instance-name ]
undo nqa server udp-echo ip-address port-number
Views
System view
Predefined user roles
network-admin
Parameters
ip-address: Specifies the IP address for the UDP listening service.
port-number: Specifies the port number for the UDP listening service, in the range of 1 to 65535.