3Com MSR 50 Network Router User Manual


  Open as PDF
of 2742
 
2398 CHAPTER 160: SYSTEM MAINTAINING COMMANDS
-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 request,
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 packets 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:
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.
Only the directly connected segment address can be pinged if the outgoing
interface is specified with the -i argument.
Example # Check whether the device with an IP address of 10.1.1.5 is reachable.
<Sysname> ping 10.1.1.5
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
ping ipv6
Syntax ping ipv6 [ -a source-ipv6 | -c count | -m interval | -s packet-size | -t timeout ] *
remote-system [ -i interface-type interface-number ]