Ping and tracert example, Network requirements, Test procedure – H3C Technologies H3C SecPath F1000-E User Manual

Page 24

Advertising
background image

13

Ping and tracert example

Network requirements

As shown in

Figure 9

, SecPath failed to Telnet Device B. Verify whether SecPath and Device B can reach

each other. If they cannot reach each other, locate the failed nodes in the network.

Figure 9 Network diagram

Test procedure

1.

Use the ping command to verify whether SecPath and Device B can reach each other.

<SecPath> 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

The output shows that SecPath and Device B cannot reach each other.

2.

Use the tracert command to determine failed nodes.
# Enable sending of ICMP timeout packets on Device A.

<DeviceA> system-view

[DeviceA] ip ttl-expires enable

# Enable sending of ICMP destination unreachable packets on Device B.

<DeviceB> system-view

[DeviceB] ip unreachables enable

# Locate the failed nodes on SecPath.

<SecPath> 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

<SecPath>

The output shows that SecPath and Device B cannot reach other, SecPath and Device A can reach
each other, and an error occurred on the connection between Device A and Device B.

Advertising