72 ping, Ping, Motload commands – Artesyn MOTLoad Firmware Package User's Manual (February 2015) User Manual

Page 148

Advertising
background image

MOTLoad Commands

MOTLoad Firmware Package User’s Manual (6806800C24D)

148

3.1.72 ping

Name

ping—broadcasts a generic network packet to a specified server (host).

Synopsis

ping -c [-d] [-n] [-p] [-r] -s [-t] [-s]

Parameters

-c Ps: Client IP Address

-d Ps: Device Name (Default =/dev/enet0)

-n Pd: Packet Count (Default = 1)

-p Pd: Packet-To-Packet Delay Count (Default - 1 Second)

-r Pd: Retry Count (Default = Forever)

-s Ps: Server (Host to Ping) IP Address

-t Pd: Time-Out Delay Count (Default = 10 Seconds)

-s Pd: Packet Size (Default = 128 Bytes/Octets)

Example

The following example indicates a typical display when using the ping commands.

MOTLoad> ping -c192.168.1.16.3 -s192.168.1.253

Client (Source) IP Address = 192.168.1.3

Server (Destination) IP Address = 192.168.1.253

Server/Host Found, E-Address = 00E04FD04940

170 (128+42) bytes from 192.168.1.253: icmp_seq=0 time=114216 us

Packets Transmitted =1, Packets Received =1, Packets Lost =0 (0%)

Round-Trip Min/Avg/Max = 114216/114216/114216 uS

Error Messages

pingHost(): illegal IP address

Invalid host/client IP address.

pingHost(): open(<device>) failed, errno = <value>

Failed to open Ethernet device.

Advertising