Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2(1) (OL-16599-01, March 2009)

Send comments to nx5000-docfeedback@cisco.com
1-62
Cisco Nexus 5000 Series Command Reference
OL-16599-01
Chapter 1 Basic System Commands
ping
ping
To determine the network connectivity to another network device, use the ping command.
ping {dest-address | hostname} [count {number | unlimited}] [df-bit] [interval seconds]
[packet-size bytes] [source src-address] [timeout seconds] [vrf {vrf-name | default |
management}]
Syntax Description
Command Default For the default values, see the “Syntax Description” section for this command.
Command Modes EXEC mode
Command History
Examples This example shows how to determine connectivity to another network device:
switch# ping 172.28.231.246
dest-address IPv4 address of destination device. The format is A.B.C.D.
hostname Hostname of destination device. The hostname is case sensitive.
count (Optional) Specifies the number of transmissions to send.
number Number of pings. The range is from 1 to 655350. The default is 5.
unlimited Allows an unlimited number of pings.
df-bit (Optional) Enables the do-not-fragment bit in the IPv4 header. The default is
disabled.
interval seconds (Optional) Specifies the interval in seconds between transmissions. The
range is from 0 to 60. The default is 1 second.
packet-size bytes (Optional) Specifies the packet size in bytes to transmit. The range is from 1
to 65468. The default is 56 bytes.
source scr-address (Optional) Specifies the source IPv4 address to use. The format is A.B.C.D.
The default is the IPv4 address for the management interface of the device.
timeout seconds (Optional) Specifies the nonresponse timeout interval in seconds. The range
is from 1 to 60. The default is 2 seconds.
vrf {vrf-name | default |
management}
(Optional) Specifies the virtual routing and forwarding (VRF) to use. The
name is case sensitive.
Release Modification
4.0(0)N1(1a) This command was introduced.