20
Step Command
Remarks
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.) Specify the
payload size in each UDP
packet.
data-size
size
The default setting is 100 bytes.
7.
(Optional.) Specify the string
to be filled in the payload of
each UDP packet.
data-fill
string
The default setting is the hexadecimal
number
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, no source IP address is
specified.
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.
Configuring the UDP tracert operation
The UDP tracert operation determines the routing path from the source device to the destination device.
Before you configure the UDP tracert operation, perform the following tasks:
•
Enable sending ICMP time exceeded messages on the intermediate devices between the source
and destination devices. If the intermediate devices are H3C devices, use the
ip ttl-expires enable
command.
•
Enable sending ICMP destination unreachable messages on the destination device. If the
destination device is an H3C device, use the
ip unreachables enable
command.
For more information about the
ip ttl-expires enable
and
ip unreachable enable
commands, see
Layer
3—IP Services Command Reference
.
The UDP tracert operation is not supported in IPv6 networks. To determine the routing path that the IPv6
packets traverse from the source to the destination, use the
tracert ipv6
command. For more information
about the command, see
Network Management and Monitoring Command Reference.
To configure the UDP tracert 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 operation is
created.
3.
Specify the UDP tracert
operation type and enter its
view.
type
udp-tracert
N/A