beautypg.com

Configuration procedure – H3C Technologies H3C S5120 Series Switches User Manual

Page 626

background image

1-7

Figure 1-4 Ping and tracert network diagram

Configuration procedure

# Use the ping command to display whether an available route exists between Device A and Device C.

ping 1.1.2.2

PING 1.1.2.2: 56 data bytes, press CTRL_C to break

Request time out

Request time out

Request time out

Request time out

Request time out

--- 1.1.2.2 ping statistics ---

5 packet(s) transmitted

0 packet(s) received

100.00% packet loss

# No such a route exists. Use the tracert command to determine failed nodes.

system-view

[DeviceA] ip ttl-expires enable

[DeviceA] ip unreachables enable

[DeviceA] tracert 1.1.2.2

traceroute to 1.1.2.2(1.1.2.2) 30 hops max,40 bytes packet, press CTRL_C to bre

ak

1 1.1.1.2 14 ms 10 ms 20 ms

2 * * *

3 * * *

4 * * *

5

The above output shows that no available route exists between Device A and Device C; an available

router exists between Device A and Device B; an error occurred on the connection between Device B

and Device C. In this case, you can use the debugging ip icmp command to enable ICMP debugging

on Device A and Device C to check whether the devices send or receive the specified ICMP packets, or

you can use the display ip routing-table command to display whether a route exists between the two

devices.