Ping, Root commands, Syntax – Technicolor - Thomson ST585 V6 User Manual
Page 28: Example
E-DOC-CTC-20061027-0004 v1.0
Root Commands
4
ping
Send ICMP ECHO_REQUEST packets.
SYNTAX:
where:
EXAMPLE:
ping
proto = <{ip|atm}>
addr =
dest =
[count =
[size =
[interval(ms) =
[DF-bit = <{disabled|enabled}>] [srcaddr =
proto
The interface type to be used.
Choose between:
>
ip
>
atm
REQUIRED
addr
The destination IP address.
REQUIRED
dest
The destination address for the request.
REQUIRED
count
A number between 1 and 1000000.
Represents the number of pings to send.
The default is
5
.
OPTIONAL
size
A number between 0 and 20000.
Represents the size of the ping payload(s).
OPTIONAL
interval
A number between 100 and 1000000.
Represents the interval in milliseconds between packets.
The default is
100
.
OPTIONAL
DF-bit
Set the Don't Fragment bit (or leave unset) in the IP header of ping.
The default is
disabled
.
OPTIONAL
scraddr
The IP source address to use.
OPTIONAL
=>:ping proto=ip addr=192.168.1.70
Legend : Ping successful(!)
Ping Timeout(.)
Hit ctrl-g to abort...
!!!!!
--- ping statistics ---
5 packet(s) transmitted, 5 successful, 0% loss
rtt min/avg/max = 1 / 2 / 4 ms
=>