Description:
PING is a useful command that will query a unit based on its IP Address and report response time. PING helps to determine network related problems.
Form:
Command Handler: SYSD
PING | PNG | PN [NUM N] [IP ADDRESS]
Argument list:
COMMAND VALUE DESCRIPTION
IP ADDRESS NNN.NNN.NNN.NNN Host IP Address in decimal IP form.
NUM N The number of times to PING a host (1-100). Default = 1
Response:
"OK\r\n" to acknowledge receipt of command, and
[Reply Info] if required by the command
"ERROR- [Description]\r\n" if error, ending command
"\r\n" concludes modify responses (empty line)
Examples:
Verbose command to ping a unit:
PING 192.168.10.48 <enter>
Response is: OK\r\n
Pinging host = 192.168.10.48\r\n
Host 192.168.10.48 responding with PING time 12 ms\r\n
PING 1.2.3.4 <enter>
Response is: OK\r\n
Pinging host = 1.2.3.4\r\n
PING error\r\n
Notes:
NUM is not yet implemented and will issue warning. The system waits a maximum of 1 seconds for a response before timing out and reporting an error. This may be changed in the future. Host names can be resolved if a NAMESERVER is set or a valid nameserver is supplied by DCHP server. Legacy PING STOP is not implemented.