User guide

IP TCP/IP command reference
iMG/RG Software Reference Manual (IPNetwork Functions)
4-36
4.1.8.2.38 STOP PING
Syntax STOP PING
Description This command is used to stop a running ping request. In case, you specify a high number
of attempts for the ping request and then intend to stop the running ping request cycle,
you need to use the stop ping command to obtain the required functionality.
This command involves no parameters. On entering a stop ping request, the statistics for
the number of pings attempted so far shall be displayed. These statistics are displayed,
once the ping task completes the last ping request it was processing at the time when the
stop ping command was triggered.
Example --> ip ping 192.168.0.12 iplan 644 (644 specifies the numberOfAttempts)
ping: PING 192.168.0.12: 32 data bytes ping: 40 bytes from 192.168.0.12: seq = 0,
ttl=128, rtt<10ms ping: 40 bytes from 192.168.0.12: seq = 0, ttl=128, rtt<10ms ping: 40
bytes from 192.168.0.12: seq = 0, ttl=128, rtt<10ms ping: 40 bytes from 192.168.0.12:
seq = 0, ttl=128, rtt<10ms
stop ping
ping: MANUALLY STOPPING THE RUNNING PING REQUEST !!!!!
ping: 40 bytes from 192.168.0.11: seq = 0, ttl=128, rtt<10ms ping: Ping stopped manually
by the user
ping: Ping statistics:
ping: Packets: Sent = 5, Recieved = 5, Lost = 0 ping: Round-trip times:
ping: Minimum = 0ms, Maximum = 0ms, Average < 1ms
See also Domain name system - DNS
4.1.8.2.39 IP PING
Syntax IP PING <destination> [<ifname>] [<numberofattempts>]
[<timeoutval>] [<blocksize>] [<tos>]
Description This command pings a specified destination. If you are using a DNS client, you can ping
either an IP address or a host name. If you are not using DNS client, you only ping a des-
tination IP address.
It’s possible specify the name of the interface over which the ping is sent. The ping
request message will use the IP address of this interface as source IP address.
In addition to these, you can configure certain additional parameters for the ping request.
These include the number of ping attempts [<numberOfAttempts>], the timeout value
for a ping request [<timeoutVal>], the data block size for an outgoing ping request
[<blockSize>] and the type of service or diffServCodePoint parameter [<TOS>]. The