To do… Use the command… Remarks
Configure the source IP address of
TCP probe packets
source ip ip-address
Optional
By default, no source IP address is
specified.
The source IP address must be the
IP address of a local interface. The
local interface must be up;
otherwise, no probe packets can
be sent out.
Configure optional parameters
See “Configuring optional
parameters for an NQA test
group”
Optional
Configuring UDP echo tests
UDP echo tests of an NQA test group tests the connectivity and round-trip time of a UDP packet from the
client to the specified UDP port on the NQA server.
Configuration prerequisites
UDP echo tests require cooperation between the NQA server and the NQA client. Before you start UDP
echo tests, configure a UDP listening service on the NQA server. For more information about the UDP
listening service configuration, see “Configuring the NQA server.”
Configuring UDP echo tests
Follow these steps to configure UDP echo tests:
To do… Use the command… Remarks
Enter system view system-view —
Enter NQA test group view
nqa entry admin-name
operation-tag
—
Configure the test type as UDP
echo, and enter test type view
type udp-echo Required
Configure the destination address
of UDP packets
destination ip ip-address
Required
By default, no destination IP
address is configured.
The destination address must be
the same as the IP address of the
listening service configured on the
NQA server.
Configure the destination port of
UDP packets
destination port port-number
Required
By default, no destination port
number is configured.
The destination port number must
be the same as that of the listening
service on the NQA server.
Configure the size of the data field
in each UDP packet
data-size size
Optional
100 bytes by default.
21