Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products

Dell Command Line Reference Guide for the S4048–ON System 9.14.2.8

ping

Test connectivity between the system and another device by sending echo requests and waiting for replies.

Syntax
ping [host | ip-address | ipv6-address] [count {number | continuous}] [datagram-size] [timeout] [source (ip src-ipv4-address) | interface] [tos] [df-bit (y|n)] [validate-reply(y|n)] [outgoing-interface] [pattern pattern] [sweep-min-size] [sweep-max-size] [sweep-interval] [ointerface (ip src-ipv4-address) | interface] [ethernet | vrf vrf-name]
Parameters
host
(OPTIONAL) Enter the host name of the devices to which you are testing connectivity.
ip-address
(OPTIONAL) Enter the IPv4 address of the device to which you are testing connectivity. The address must be in the dotted decimal format.
ipv6-address
(OPTIONAL) Enter the IPv6 address, in the x:x:x:x::x format, to which you are testing connectivity.
NOTE The :: notation specifies successive hexadecimal fields of zeros.
count
Enter the number of echo packets to be sent. The default is 5.
  • number: from 1 to 2147483647
  • continuous: transmit echo request continuously
datagram size
Enter the ICMP datagram size. The range is from 36 to 15360 bytes. The default is 100.
timeout
Enter the interval to wait for an echo reply before timing out. The range is from 0 to 3600 seconds. The default is 2 seconds.
source
Enter the IPv4 or IPv6 source ip address or the source interface. For IPv6 addresses, you may enter global addresses only. Enter the IP address in A.B.C.D format.
  • For a 10-Gigabit Ethernet interface, enter the keyword TenGigabitEthernet then the slot/port/subport[/subport] information.
  • For a 40-Gigabit Ethernet interface, enter the keyword fortyGigE then the slot/port information.
  • For a port channel interface, enter the keywords port-channel then a number.
  • For a VLAN interface, enter the keyword vlan then a number from 1 to 4094.
  • For a Tunnel interface, enter the keyword tunnel then a number from 1 to 16383.
tos
(IPv4 only) Enter the type of service required. The range is from 0 to 255. The default is 0.
df-bit
(IPv4 only) Enter Y or N for the “don't fragment” bit in IPv4 header.
  • N: Do not set the “don't fragment” bit.
  • Y: Do set “don't fragment” bit
Default is No.
validate-reply
(IPv4 only) Enter Y or N for reply validation.
  • N: Do not validate reply data.
  • Y: Do validate reply data.
Default is No.
outgoing-interface
(IPv6 link-local address) Enter the outgoing interface for ping packets to a destination link-local address.
pattern pattern
(IPv4 only) Enter the IPv4 data pattern. Range: 0-FFFF. Default: 0xABCD.
sweep-min-size
Enter the minimum size of datagram in sweep range. The range is from 52 to 15359 bytes.
sweep-max-size
Enter the maximum size of datagram in sweep range. The range is from 53 to 15359 bytes.
sweep-interval
Enter the incremental value for sweep size. The range is from 1 to 15308 seconds.
interface
(IPv4 only) Enter the outgoing interface for multicast packets. Enter the IP address in A.B.C.D format.
  • For a 10-Gigabit Ethernet interface, enter the keyword TenGigabitEthernet then the slot/port[/subport] information.
  • For a 40-Gigabit Ethernet interface, enter the keyword fortyGigE then the slot/port information.
  • For a port channel interface, enter the keywords port-channel then a number.
  • For a VLAN interface, enter the keyword vlan then a number from 1 to 4094.
ethernet
Enter the keyword ethernet to test layer2 connectivity.
vrf vrf-name
Enter the keyword vrf followed by the name of the VRF to test connectivity to the VRF.
Defaults
None.
Command Modes
  • EXEC
  • EXEC Privilege
Command History

This guide is platform-specific. For command information about other platforms, see the relevant Dell EMC Networking OS Command Line Reference Guide.

Version
Description
9.10(0.1)
Introduced on the S6010-ON and S4048T-ON.
9.10(0.0)
Introduced on the S3148.
9.10(0.0)
Introduced on the S6100-ON.
9.8(2.0)
Introduced on the S3100 series.
9.8(1.0)
Introduced on the Z9100–ON.
9.8(0.0)P5
Introduced on the S4048–ON.
9.8(0.0)P2
Introduced on the S3048–ON.
9.2(1.0)
Introduced on the Z9500.
9.0.2.0
Introduced on the S6000.
9.0.0.0
Introduced on the Z9000.
8.3.19.0

Introduced on the S4820T.

Added support for the outgoing-interface option for link-local IPv6 addressing on the S4820T.
8.3.12.0
Added support for the outgoing-interface option for link-local IPv6 addressing on the S4810.
8.3.11.1
Introduced on the Z9000.
8.3.7.0
Introduced on the S4810.
8.5.1.0
Added support for 4-port 40G line cards.
8.4.1.0
IPv6 pinging available on management interface.
8.3.1.0
Introduced extended ping options.
8.2.1.0
Introduced on the E-Series (IPv6).
8.1.1.0
Introduced on the E-Series (IPv4).
7.9.1.0
Introduced VRF.
7.6.1.0
Introduced on the S-Series.
7.5.1.0
Introduced on the C-Series.
7.4.1.0
Added support for IPv6 address on the E-Series.
Usage Information
When you enter the ping command without specifying an IP/IPv6 address (Extended Ping), you are prompted for a target IP/IPv6 address, a repeat count, a datagram size (up to 1500 bytes), a timeout (in seconds), and for Extended Commands.

The following table provides descriptions for the ping command status response symbols displayed in the output.

Symbol
Description
!
Each exclamation point indicates receipt of a reply.
.
Each period indicates the network server timed out while waiting for a reply.
U
A destination unreachable error PDU was received.
Q
Source quench (destination too busy).
M
Could not fragment.
?
Unknown packet type.
&
Packet lifetime exceeded.
Example (IPv4)
DellEMC# ping 172.31.1.255

Type Ctrl-C to abort.

Sending 5, 100-byte ICMP Echos to 172.31.1.255, timeout is 2 seconds:
Reply to request 1 from 172.31.1.208 0 ms
Reply to request 1 from 172.31.1.216 0 ms
Reply to request 1 from 172.31.1.205 16 ms
::
Reply to request 5 from 172.31.1.209 0 ms
Reply to request 5 from 172.31.1.66 0 ms
Reply to request 5 from 172.31.1.87 0 ms
DellEMC#
Example (IPv6)
DellEMC# ping 100::1

Type Ctrl-C to abort.

Sending 5, 100-byte ICMP Echos to 100::1, timeout is 2 seconds:
!!!!!
Success rate is 100.0 percent (5/5), round-trip min/avg/max = 0/0/0 (ms)
DellEMC#

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\