beautypg.com

System maintenance and debugging, Ping, Using a ping command to test network connectivity – H3C Technologies H3C WX3000E Series Wireless Switches User Manual

Page 10: Ping example, Network requirements

background image

1

System maintenance and debugging

Use the ping, tracert, and system debugging utilities to test network connectivity and identify network

problems.

Ping

The ping utility sends ICMP echo requests (ECHO-REQUEST) to the destination device. Upon receiving

the requests, the destination device responds with ICMP echo replies (ECHO-REPLY) to the source device.

The source device outputs statistics about the ping operation, including the number of packets sent,

number of echo replies received, and the round-trip time. You can measure the network performance by
analyzing these statistics.

Using a ping command to test network connectivity

To execute ping commands to test network connectivity:

Task Command

Remarks

Test the network connectivity
to an IP address.

For IPv4 networks:

ping [ ip ] [ -a source-ip | -c count | -f |

-h ttl | -i interface-type interface-number
| -m interval | -n | -p pad | -q | -r | -s

packet-size | -t timeout | -tos tos | -v ] *

host

For IPv6 networks:

ping ipv6 [ -a source-ipv6 | -c count |

-m interval | -s packet-size | -t timeout ]
* host [ -i interface-type

interface-number ]

Use either approach.
Available in any view.

NOTE:

For a low-speed network, H3C recommends that you set a larger value for the timeout timer (indicated
by the -t parameter in the command) when configuring the ping command.

Only the directly connected segment address can be pinged if the outgoing interface is specified with
the -i keyword.

Ping example

Network requirements

Test the network connectivity between Device A and Device C in

Figure 1

. If they can reach each other,

get detailed information about routes from Device A to Device C.

This manual is related to the following products: