244
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.
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.
Usage guidelines
Use this command on the NQA server only for 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 the address of an interface on the NQA server.
•
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
[
vpn-instance
vpn-instance-name
] [
tos tos
]
undo nqa server udp-echo
ip-address port-number
Default
No UDP listening service is configured on the NQA server.
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.
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.