Using diagnostic tools, Traceroute, Ping – H3C Technologies H3C MSR 50 User Manual
Page 541: Traceroute operation
156
Using diagnostic tools
This chapter describes how to use the ping and traceroute facilities.
Traceroute
By using the traceroute facility, you can trace Layer 3 devices involved in delivering a packet from source
to destination.
You can traceroute the IP address or the host name of a device. If the target host name cannot be resolved,
a prompt appears.
A traceroute operation involves the following steps:
1.
The source device sends a packet with a Time to Live (TTL) value of 1 to the destination device.
2.
The first hop device responds with an ICMP TTL-expired message to the source. In this way, the
source device can get the address of the first Layer 3 device.
3.
The source device sends a packet with a TTL value of 2 to the destination device.
4.
The second hop responds with an ICMP TTL-expired message.
5.
The above process continues until the ultimate destination device is reached. The destination
device responds with an ICMP port-unreachable message because the packet from the source has
an unreachable port number. In this way, the source device can get the addresses of all Layer 3
devices on the path.
Ping
You can ping the IP address or the host name of a device.
If the host name cannot be resolved, a prompt appears. If the source device does not receive an ICMP
echo reply within the timeout time, it displays a prompt and ping statistics. If the source device receives
ICMP echo replies within the timeout time, it displays the number of bytes for each echo reply, the
message sequence number, Time to Live (TTL), the response time, and ping statistics. Ping statistics
include number of packets sent, number of echo reply messages received, percentage of messages not
received, and the minimum, average, and maximum response time.
A ping operation involves the following steps:
1.
The source device sends ICMP echo requests to the destination device.
2.
The destination device responds by sending ICMP echo replies to the source device after receiving
the ICMP echo requests.
3.
The source device displays related statistics after receiving the replies.
Traceroute operation
The Web interface does not support IPv6 traceroute.