Skip to content
Was this article helpful?

ping

The following operations can be performed on "ping":

ping

Invokes the UNIX ping command. The hostName parameter must be used if the name is in the /etc/hosts file directory or is otherwise known in DNS.

Synopsis

ping [-c <count>] [-i <interval>] [-I <interface>] [-n] [-p <pattern>] [-q] [-s <size>] [-S <src_addr>] [-T <td>] [-t <timeout>] <hostname>

Arguments

c

Number of packets to send. The default value is infinite. For Nitro API, defalut value is taken as 5. Minimum value: 1 Maximum value: 65535

i

Waiting time, in seconds. The default value is 1 second. Minimum value: 0 Maximum value: 65535

I

Network interface on which to ping, if you have multiple interfaces.

n

Numeric output only. No name resolution.

p

Pattern to fill in packets. Can be up to 16 bytes, useful for diagnosing data-dependent problems.

q

Quiet output. Only the summary is printed. For Nitro API, this flag is set by default.

s

Data size, in bytes. The default value is 56. Minimum value: 0 Maximum value: 65507

S

Source IP address to be used in the outgoing query packets. If the IP addrESS does not belongs to this appliance, an error is returned and nothing is sent.

T

Traffic Domain Id Minimum value: 1 Maximum value: 4094

t

Time-out, in seconds, before ping exits. Minimum value: 1 Maximum value: 3600

hostName

Address of host to ping.

Output

response

Example

ping -p ff -c 4 10.102.4.107

Was this article helpful?