Configuring the UDP echo operation
The UDP echo operation measures the round-trip time between the client and a UDP port on the NQA server.
The UDP echo operation requires both the NQA server and the NQA client. Before you perform a UDP echo operation, configure a UDP listening service on the NQA server. For more information about the UDP listening service configuration, see "Configuring the NQA server."
To configure the UDP echo operation:
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. Create an NQA operation and enter NQA operation view. | nqa entry admin-name operation-tag | By default, no NQA operations exist. |
3. Specify the UDP echo type and enter its view. | type udp-echo | N/A |
4. Specify the destination address of UDP packets. | destination ip ip-address | By default, no destination IP address is specified. The destination address must be the same as the IP address of the listening service configured on the NQA server. |
5. Specify the destination port of UDP packets. | destination port port-number | By default, no destination port number is specified. The destination port number must be the same as the port number of the listening service on the NQA server. |
6. (Optional.) Set the payload size for each UDP packet. | data-size size | The default setting is 100 bytes. |
7. (Optional.) Specify the payload fill string for UDP packets. | data-fill string | The default payload fill string is the hexadecimal string 00010203040506070809. |
8. (Optional.) Specify the source port of UDP packets. | source port port-number | By default, no source port number is specified. |
9. (Optional.) Specify the source IP address of UDP packets. | source ip ip-address | By default, the packets take the primary IP address of the output interface as their source IP address. The source IP address must be the IP address of a local interface, and the interface must be up. Otherwise, no UDP packets can be sent out. |