A SERVICE OF

logo

ping
OVERVIEW
Category:
operatorPrimary context:
traceroute (page 690)Related Commands
link-test (page 350)
ping6 (page 395)
Usage: ping <IP-ADDR|hostname|SWITCH-NUM>
[repetitions <1-10000>] [timeout <1-60>]
[data-size <0-65471>] [data-ll <0-1024>]
[source <IP_ADDR|VLAN-ID>]
Description: Send IPv4 ping request(s) to a device on the network.
Parameters:
o IP-ADDR - IPv4 address of device to ping.
o hostname - Hostname of device to which to send IPv4 ping.
o [repetitions <1-10000>] - Number of times to send ping; the default
value is 1.
o [timeout <1-60>] - Seconds within which a response is required
before the test is considered as failed; the default value is 5.
o [data-size <0-65471>] - Size of data to send; the default
size is 0.
o [data-ll <0-1024>] - The string to be lled in the data portion
of the packet. A string upto 1024 characters in length can be
specied. The default value is a 0 length string.
o [source <IP_ADDR|VLAN-ID>] - The source IPv4 address or VLAN.
Examples:
(1) hp-switch# ping 1.1.1.1
COMMAND STRUCTURE
ping data-fill -- Ping data fill string (size <0-1024>). (OCTET-STR) (p. 393)
ping data-size < 0 to 65471 > -- Ping data size <0-65471>. (NUMBER) (p. 393)
ping host-name -- Hostname of the device to ping. (ASCII-STR) (p. 393)
ping ip-addr -- IPv4 address of the device to ping. (IP-ADDR) (p. 393)
ping repetitions < 1 to 10000 > -- Number of packets to send <1-10000>. (NUMBER) (p. 393)
ping source -- Source address or VLAN. (p. 393)
ip-addr -- Source IPv4 address. (IP-ADDR) (p. 393)
vlan -- Source VLAN. (VLAN-ID) (p. 394)
ping switch-num -- The stack number of the switch to ping. (NUMBER) (p. 394)
ping timeout < 1 to 60 > -- Ping timeout in seconds <1-60>. (NUMBER) (p. 394)
392© 2009 Hewlett-Packard Development Company, L.P.