PING command

The PING command sends an echo request to a foreign node (remote host) to determine whether the node is accessible.

Read syntax diagramSkip visual syntax diagram
>>-PING--+- host_name--+---------------+-+---------------------><
         |             '-(--| Option |-' |   
         +- Help-------------------------+   
         '- ?----------------------------'   

Option

   .--------------------------.   
   V                          |   
|----+----------------------+-+---------------------------------|
     +-Addrtype--+-ipv4-+---+     
     |           '-ipv6-'   |     
     |        .-1----.      |     
     +-Count--+------+------+     
     |        '-echo-'      |     
     +-Intf-- interface-----+     
     |         .-256---.    |     
     +-Length--+-------+----+     
     |         '-bytes-'    |     
     +-NOName---------------+     
     +-PMTU--+-yes----+-----+     
     |       '-ignore-'     |     
     +-Srcip-- srcip--------+     
     +-TCP-- tcpname--------+     
     |          .-10------. |     
     +-Timeout--+---------+-+     
     |          '-seconds-' |     
     '-Verbose--------------'