Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

Pinging Hosts

Purpose

Use the CLI ping command to verify that a host can be reached over the network. This command is useful for diagnosing host and network connectivity problems. The switch sends a series of Internet Control Message Protocol (ICMP) echo (ping) requests to a specified host and receives ICMP echo responses.

Action

To use the ping command to send four requests (ping count) to host3:

ping host count number

Sample Output

ping host3 count 4
user@switch> ping host3 count 4 
PING host3.site.net (176.26.232.111): 56 data bytes
64 bytes from 176.26.232.111: icmp_seq=0 ttl=122 time=0.661 ms
64 bytes from 176.26.232.111: icmp_seq=1 ttl=122 time=0.619 ms
64 bytes from 176.26.232.111: icmp_seq=2 ttl=122 time=0.621 ms
64 bytes from 176.26.232.111: icmp_seq=3 ttl=122 time=0.634 ms

--- host3.site.net ping statistics ---
4 packets transmitted, 4 packets received, 0% packet loss
round-trip min/avg/max/stddev = 0.619/0.634/0.661/0.017 ms

Meaning

  • The ping results show the following information:
    • Size of the ping response packet (in bytes).
    • IP address of the host from which the response was sent.
    • Sequence number of the ping response packet. You can use this value to match the ping response to the corresponding ping request.
    • Time-to-live (ttl) hop-count value of the ping response packet.
    • Total time between the sending of the ping request packet and the receiving of the ping response packet, in milliseconds. This value is also called round-trip time.
    • Number of ping requests (probes) sent to the host.
    • Number of ping responses received from the host.
    • Packet loss percentage.
    • Round-trip time statistics: minimum, average, maximum, and standard deviation of the round-trip time.

Published: 2014-07-23

Supported Platforms

Published: 2014-07-23