Performing Ping And Tracert Operations - Huawei Quidway S5700 Series Configuration Manual - Network Management

Hide thumbs Also See for Quidway S5700 Series:
Table of Contents

Advertisement

Quidway S5700 Series Ethernet Switches
Configuration Guide - Network Management
The S5700 implements tracert based on ICMP. Tracert records the gateways that the ICMP
message passes along the path between a source host and a destination. In this manner, you can
check network connectivity and locate the fault.
Figure 5-3 Principle of the tracert operation
Step 1
Step 2
Step 3
Take the networking in
S5700. On the S5700, run the tracert command. The destination IP address is the IP address of
the log host and other parameters adopt the default values.
1.
2.
3.
4.
5.
6.
In the preceding steps, the tracert program on the source records the IP addresses of the gateways
between the source and the destination through the ICMP Time Exceeded message mentioned
in Step 3.

5.3 Performing Ping and Tracert Operations

This section describes the execution of the ping and tracert commands.
Issue 01 (2011-10-26)
Switch
Router-A
TTL=1
UDP datagram
ICMP Time Exceeded message
ICMP Destination Unreachable message
Figure 5-3
The S5700 sends a UDP datagram to the log host, with the TTL value being 1 and the
destination UDP port number being 33434.
After receiving the UDP datagram from the S5700, Router-A finds that the destination IP
address carried in the datagram is not its own address. Then, Router-A reduces the TTL
value by 1. Finding that the TTL value reaches 0, Router-A sends an ICMP Time Exceeded
message to the S5700.
After receiving the ICMP Time Exceeded message, the S5700 increases the TTL value and
the UDP port number in the UDP datagram by 1 respectively and then sends out the UDP
datagram again.
Perform Step 2 and Step 3, the log host receives the UDP datagram from the S5700.
After receiving the UDP datagram from the S5700, the log host finds that the destination
is itself. It begins to process the datagram. The log host tries to find the upper layer protocol
corresponding to the destination UDP port number carried in the datagram. In most cases,
the UDP ports whose number is greater than 30000 are not used by any protocols. Therefore,
the log host sends an ICMP Destination Unreachable message to the S5700 to notify the
source that the destination port is unreachable.
After receiving the ICMP Destination Unreachable message from the log host, the S5700
knows that the UDP datagram has reached the destination and thus stops running the tracert
program.
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
Router-B
TTL=2
TTL=3
as an example to show tracert implementation on the
5 Ping and Tracert
Log Host
247

Advertisement

Table of Contents
loading

Table of Contents