Ping, Name, Synopsis – Comtrol eCos User Manual

Page 143: Arguments, Description

Advertising
background image

ping

Name

ping

— Verify network connectivity

Synopsis

ping

[-v ] [-i

local_IP_address

] [-l

length

] [-n

count

] [-t

timeout

] [-r

rate

] {-h

server_IP_address

}

Arguments

Name

Type

Description

Default

-v

Boolean

Be verbose, displaying
information about each
packet sent.

quiet

-n

local_IP_address

Number

Controls the number of
packets to be sent.

10

-i

local_IP_address

Numeric IP or DNS name

The IP address RedBoot
should use.

Value set by ip_address

-h

server_IP_address

Numeric IP or DNS name

The IP address of the host
to contact.

none

-l

length

Number

The length of the ICMP
data payload.

64

-r

length

Number

How fast to deliver packets,
i.e. time between
successive sends. A value
of 0 sends packets as
quickly as possible.

1000ms (1 second)

-t

length

Number

How long to wait for the
round-trip to complete,
specified in milliseconds.

1000ms (1 second)

Description

The ping command checks the connectivity of the local network by sending special (ICMP) packets to a specific
host. These packets should be automatically returned by that host. The command will indicate how many of these
round-trips were successfully completed.

39

Advertising