Command: ping

Home | Command modes | Alphabetical listing

ping

Ping a device to test the connection between the VSP 7000 Series switch and another network device. After you ping a device, the switch sends an Internet Control Message Protocol (ICMP) packet to the target device. If the device receives the packet, it sends a ping reply. After the switch receives the reply, a message appears that indicates traffic can reach the specified IP address. If the switch does not receive a reply, the message indicates the address is not responding.

Syntax

Default

None

Command mode

User EXEC

Command parameters

ParameterDescription

<A.B.C.D|WORD>

Specifies the hostname, IPv4 address, or IPv6 address to ping.

continuous

Configures the continuous ping at the interval rate defined by the interval parameter (for IPv4).

count <1-9999>

Specifies the number of times to ping (for IPv4) (1-9999).

datasize <64-4096>

Specifies the size of ping data sent in byte.

debug

Configures the ping debug mode. This variable detects local software failures (ping related threads creation or write to sending socket) and receiving issues (ICMP packet too short or wrong ICMP packet type).

interval <1-60>

Specifies the interval between transmissions in seconds (1-60).

scopeid <1-4094>|mgmt

Specifies the scope ID as a VLAN ID or the management port.

source <A.B.C.D/WORD>

Specifies an IPv4 or IPv6 address that will be used as the source address in the packet header.

timeout <1-120>

Specifies the no-answer timeout value in seconds (1-120) for IPv4.

ttl <0-255>

Specifies the time to live for the ping packet. <0-255> specifies the hop limit.