Ping uses Internet Control Message Protocol (ICMP) Echo messages to determine if a remote host is active or inactive and to determine the round-trip delay when communicating with it. Ping tool sends ICMP (type 8) message to the host and waits for the ICMP echo-reply (type 0). The interval between these events is called round trip. If the response (that is called pong) has not come until the end of the interval, we assume it has timed out. The second significant parameter reported is ttl (Time to Live). Is is decremented at each machine in which the packet is processed. The packet will reach its destination only when the ttl is greater than the number of routers between the source and the destination.
/ping [address] [properties]
Ping tool can be used to ping IP address and mac address. Mac ping works only to devices that has mac ping server configured.
|arp-ping (yes | no; Default: )|
|count (integer [0..4294967295]; Default: 0)||Total number of packets to send (defult is to send forever until interrupted).|
|do-not-fragment (; Default: )||If do-not-fragment flag is set packets will not be fragmented if size exceeds interface mtu.|
|interface (string; Default: )||Which interface to use (required when pinging IPv6 address)|
|interval (time [10ms..5s]; Default: 1s)||how long to wait for response. If no response is received within 1000ms, ping will show as "timed out", but if you will receive a response after 3ms, still the ping program will wait the rest of 997ms until it sends next ping.|
|routing-table (string; Default: main)||Which routing table to use to resolve destination. Used in VRF setups.|
|size (integer; Default: 64)||Packet size to be used in bytes (includes payload and IP header)|
|src-address (IPv4,IPv6; Default: )||IPv4/IPv6 address to be set as packets source. Useful if replies must be sent to specific address.|
|ttl (integer [1..255]; Default: )||Time to live parameter adjustment|