beautypg.com

H3C Technologies H3C S7500E Series Switches User Manual

Page 15

background image

1-3

PING 1.1.2.2: 56 data bytes, press CTRL_C to break

Reply from 1.1.2.2: bytes=56 Sequence=1 ttl=254 time=53 ms

Record Route:

1.1.2.1

1.1.2.2

1.1.1.2

1.1.1.1

Reply from 1.1.2.2: bytes=56 Sequence=2 ttl=254 time=1 ms

Record Route:

1.1.2.1

1.1.2.2

1.1.1.2

1.1.1.1

Reply from 1.1.2.2: bytes=56 Sequence=3 ttl=254 time=1 ms

Record Route:

1.1.2.1

1.1.2.2

1.1.1.2

1.1.1.1

Reply from 1.1.2.2: bytes=56 Sequence=4 ttl=254 time=1 ms

Record Route:

1.1.2.1

1.1.2.2

1.1.1.2

1.1.1.1

Reply from 1.1.2.2: bytes=56 Sequence=5 ttl=254 time=1 ms

Record Route:

1.1.2.1

1.1.2.2

1.1.1.2

1.1.1.1

--- 1.1.2.2 ping statistics ---

5 packet(s) transmitted

5 packet(s) received

0.00% packet loss

round-trip min/avg/max = 1/11/53 ms

The principle of ping –r is as shown in

Figure 1-1

.

1) The source (Device A) sends an ICMP echo request with the RR option being empty to the

destination (Device C).

2) The intermediate device (Device B) adds the IP address (1.1.2.1) of its outbound interface to

the RR option of the ICMP echo request, and forwards the packet.

3) Upon receiving the request, the destination device copies the RR option in the request and

adds the IP address (1.1.2.2) of its outbound interface to the RR option. Then the destination

device sends an ICMP echo reply.

4) The intermediate device adds the IP address (1.1.1.2) of its outbound interface to the RR option

in the ICMP echo reply, and then forwards the reply.

5) Upon receiving the reply, the source device adds the IP address (1.1.1.1) of its inbound

interface to the RR option. Finally, you can get the detailed information of routes from Device A

to Device C: 1.1.1.1 <-> {1.1.1.2; 1.1.2.1} <-> 1.1.2.2.