Configuring UDP echo tests

UDP echo tests of an NQA test group are used to test the connectivity and round-trip time of a UDP packet from the client to the specified UDP port on the NQA server.

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 "."

To configure UDP echo tests:

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Enter NQA test group view.

nqa entry admin-name operation-tag

N/A

3. Configure the test type as UDP echo, and enter test type view.

type udp-echo

N/A

4. Configure the destination address of UDP packets.

destination ip ip-address

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.

5. Configure the destination port of UDP packets.

destination port port-number

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.

6. Configure the size of the data field in each UDP packet.

data-size size

Optional.

100 bytes by default.

7. Configure the string to be filled in the data field of each UDP packet.

data-fill string

Optional.

By default, the string is the hexadecimal number 00010203040506070809.

8. Specify the source port of UDP packets.

source port port-number

Optional.

By default, no source port number is specified.

9. Configure the source IP address of UDP packets.

source ip ip-address

Optional.

By default, no source IP address is specified.

The source IP address must be that of an interface on the device and the interface must be up. Otherwise, no probe packets can be sent out.

10. Configure optional parameters.

See ""

Optional.