User guide

ping
70 Chapter 2 Command Descriptions
ping
Device support This command is supported in all devices.
Purpose Tests whether a host or other device is active and reachable.
Required
permissions
Anyone can use this command.
Syntax ping [continuous]
[fill=char]
{hostname|ip addr}
[intv=msec]
[loose_sroute=ip addr,ip addr...]
[npkts=num]
[pksiz=bytes]
[record_route]
[strict_sroute=ip addr,ip addr...]
[verbose]
Options continuous
Specifies that "ping" commands be sent continuously until stopped.
Press the interrupt keys to stop continuous pings. The default interrupt
keys are <Ctrl-C>.
fill=char
Specifies characters to include in the data portion of the echo reply.
hostname|ip addr
Identifies the target of the ping by an IP address or domain name.
intv=msec
The interval in milliseconds between pings. The range is -1 to 60,000.
The default is 1000 milliseconds (one second). A value of -1 means that
echoes will be continuously sent until the value in the "npkts" option is
reached.
loose_sroute=ip addr,ip addr...
Specifies that the "ping" command should pass through the routers
indicated on its way to the target host. These routers are identified by
their IP addresses.
npkts=num
The number of packets to include with each "ping" command. The range
is 1 to 30,000. The default is 1.
pksiz=bytes
The size of the ping packet in bytes. The range is 0 to 20000. The default
is 56.