Ping
Ping is an administration utility used to test the connectivity between two network IP devices.
Ping functions by sending an Internet Control Message Protocol (ICMP) echo request to the specified remote host and waiting for an ICMP reply from that host. Using this method, ping also determines the time interval between when the echo request is sent and when the echo reply is received. This interval is called round-trip time.
At the end of the test, ping displays the minimum, maximum, and average round-trip times, and the standard deviation of the mean. Besides the round-trip time, ping can also measure the rate of packet loss. This is determined by the number of received echo replies over the number of sent echo requests. It is displayed as a percentage.
Reference
Command
ping <ip address> [source <source address> | interface <interface name> [count {<number>}] [interval <seconds> ] [size <bytes> ] [timeout <seconds> ]
Description
Polls or “pings” to see if the specified host is reachable
Parameters
ip address The IP address (ipv4/ipv6) of the host to ping.
source ip address Source IP address to use
interface interface name Interface to use count packets Count of ping request
size bytes Specifies the number of data bytes to be sent
timeout seconds Time to wait for a response, in seconds
Mode
EXEC
Example
Last updated