3Com S7902E Command Reference Manual - page 2167
1-2
-q
: Presence of this parameter indicates that only statistics are displayed. By default, all information is
displayed.
-r
: Records routes. By default, routes are not recorded.
-s packet-size
: Specifies length (in bytes) of an ICMP echo request, in the range 20 to 8100. The default
value is 56.
-t timeout
: Specifies the timeout value (in milliseconds) of an ICMP echo reply (ECHO-REPLY), in the
range 0 to 65535. It defaults to 2000.
-tos
tos
: Specifies type of service (ToS) of an echo request, in the range 0 to 255. The default value is 0.
-v
: Displays non ICMP echo reply received. By default, the system does not display non ICMP echo
reply.
-vpn-instance vpn-instance-name
: Specifies the name of an MPLS VPN instance, which
is a string of 1
to 31 characters. It is case sensitive.
remote-system
: IP address or host name (a string of 1 to 20 characters) of the destination device.
Description
Use the
ping
command to verify whether the destination device in an IP network is reachable, and to
display the related statistics.
Note that:
z
You must use the command in the form of
ping ip ip
instead of
ping ip
if the destination name is a
key word, such as
ip
.
z
Only the directly connected segment address can be pinged if the outgoing interface is specified
with the
-i
argument.
Examples
#
Check whether the device with an IP address of 10.1.1.5 is reachable.
PING 10.1.1.5 : 56 data bytes, press CTRL_C to break
Reply from 10.1.1.5 : bytes=56 Sequence=1 ttl=255 time = 1 ms
Reply from 10.1.1.5 : bytes=56 Sequence=2 ttl=255 time = 2 ms
Reply from 10.1.1.5 : bytes=56 Sequence=3 ttl=255 time = 1 ms
Reply from 10.1.1.5 : bytes=56 Sequence=4 ttl=255 time = 3 ms
Reply from 10.1.1.5 : bytes=56 Sequence=5 ttl=255 time = 2 ms
--- 10.1.1.5 ping statistics ---
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 1/2/3 ms
The above information indicates the following:
z
The destination host was reachable
z
All probe packets sent by the source device got responses
z
The minimum time, average time, and maximum time for the packet’s roundtrip time are 1 ms, 2 ms,
and 3 ms respectively