3Com Switch 7750 Series
Command Reference Guide – System Maintenance & Debugging
Chapter 2 Network Connectivity Test
Commands
2-1
Chapter 2 Network Connectivity Test Commands
2.1 Network Connectivity Test Commands
2.1.1 ping
Syntax
ping
[
-a
ip-address
|
-c
count
|
-d
|
-f
|
-h
ttl
|
-i
interface-type interface-number
|
-n
|
- p
pattern
|
-q
|
-r
|
-s
packetsize
|
-t
timeout
|
-tos
tos
|
-v
|
ip
]*
host-ip
ping ipx
ipx-address
[
-c
count
|
-s
packetsize
|
-t
timeout
]*
ping clns
nsap-address
View
Any view
Parameter
-a
ip
-
address
: Sets the source IP address to send the ICMP ECHO-REQUEST packets.
-c
count
: Specifies how many times the ICMP ECHO-REQUEST packet will be sent.
The
count
argument is the times, which ranges from 1 to 4,294,967,295 and defaults to
5.
-d
: Sets the socket to DEBUGGING mode. By default, it is non-DEBUGGING mode.
-f
: Specifies to discard a packet directly instead of fragmenting it if its length is greater
than the MTU (maximum transmission unit) of the interface.
-h
ttl
: Sets the TTL (time to live) value of the echo request packets in the range of 1 to
255. By default, the TTL value is 255.
-i
: Selects the specified interface to send the ICMP packets.
interface-type
: Interface type.
interface-number
: Inferface number.
-n
: Specifies to regard the
host
argument as an IP address without performing domain
name resolution. By default, the
host
argument is first regarded as an IP address; if it is
not an IP address, domain name resolution is performed.
-p
pattern
: Specifies the padding byte pattern of the ICMP ECHO-REQUEST packets.
The
pattern
argument is a byte in hexadecimal. For example, -p ff fills a packet with only
ff. By default, the system fills a packet with 0x01, 0x02, and so on, until 0x09; then it
repeats this procedure from 0x01 again.
-q
: Specifies to display only the statistics and not to display the details. By default, all
the information including the details and statistics will be displayed.