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
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.

Dell EMC SmartFabric OS10 User Guide Release 10.5.0

ping

Tests network connectivity to an IPv4 device.

Syntax
ping [vrf {management | vrf-name}] [-4] [-aAbBdDfhLnOqrRUvV] [-c count] [-i interval] [-I interface] [-m mark] [-M pmtudisc_option] [-l preload] [-p pattern] [-Q tos] [-s packetsize] [-S sndbuf] [-t ttl] [-T timestamp_option] [-w deadline] [-W timeout] [hop1 ...] destination
Parameters
  • vrf management — (Optional) Pings an IPv4 address in the management virtual routing and forwarding (VRF) instance.
  • vrf vrf-name — (Optional) Ping an IP address in a specified VRF instance.
  • -4 — (Optional) Uses the IPv4 route over the IPv6 route when both IPv4 as well as IPv6 default routes are configured, you must use the following option in the ping command: -4. For example, OS10# ping vrf management -4 dell.com.
  • -a — (Optional) Audible ping.
  • -A — (Optional) Adaptive ping. An inter-packet interval adapts to the round-trip time so that one (or more, if you set the preload option) unanswered probe is present in the network. The minimum interval is 200 msec for a non-super user, which corresponds to Flood mode on a network with a low round-trip time.
  • -b — (Optional) Pings a broadcast address.
  • -B — (Optional) Does not allow ping to change the source address of probes. The source address is bound to the address used when the ping starts.
  • -c count — (Optional) Stops the ping after sending the specified number of ECHO_REQUEST packets until the timeout expires.
  • -d — (Optional) Sets the SO_DEBUG option on the socket being used.
  • -D — (Optional) Prints the timestamp before each line.
  • -h — (Optional) Displays help for this command.
  • -i interval — (Optional) Enter the interval in seconds to wait between sending each packet, the default is 1 second.
  • -I interface-name or interface-ip-address — (Optional) Enter the source interface name without spaces or the interface IP address:
    • For a physical Ethernet interface, enter ethernetnode/slot/port; for example, ethernet1/1/1.
    • For a VLAN interface, enter vlanvlan-id; for example, vlan10.
    • For a Loopback interface, enter loopbackid; for example, loopback1.
    • For a port-channel interface, enter port-channelchannel-id; for example, port-channel.
  • -l preload — (Optional) Enter the number of packets that ping sends before waiting for a reply. Only a super user may preload more than three.
  • -L — (Optional) Suppress the Loopback of multicast packets for a multicast target address.
  • -m mark — (Optional) Tags the packets sent to ping a remote device. Use this option with policy routing.
  • -M pmtudisc_option — (Optional) Enter the path MTU (PMTU) discovery strategy:
    • do prevents fragmentation, including local.
    • want performs PMTU discovery and fragments large packets locally.
    • dont does not set the Don’t Fragment (DF) flag.
  • -p pattern — (Optional) Enter a maximum of 16 pad bytes to fill out the packet you send to diagnose data-related problems in the network; for example, -p ff fills the sent packet with all 1’s.
  • -Q tos — (Optional) Enter a maximum of 1500 bytes in decimal or hex datagrams to set quality of service (QoS)-related bits.
  • -s packetsize — (Optional) Enter the number of data bytes to send, from 1 to 65468, default 56.
  • -S sndbuf — (Optional) Set the sndbuf socket. By default, the sndbuf socket buffers one packet maximum.
  • -t ttl — (Optional) Enter the IPv4 time-to-live (TTL) value in seconds.
  • -T timestamp option — (Optional) Set special IP timestamp options. Valid values for timestamp option — tsonly (only timestamps), tsandaddr (timestamps and addresses), or tsprespec host1 [host2 [host3 [host4]]] (timestamp pre-specified hops).
  • -v — (Optional) Verbose output.
  • -V — (Optional) Display the version and exit.
  • -w deadline — (Optional) Enter the time-out value in seconds before the ping exits regardless of how many packets send or receive.
  • -W timeout — (Optional) Enter the time to wait for a response in seconds. This setting affects the time-out only if there is no response, otherwise ping waits for two round-trip times (RTTs).
  • hop1 ... (Optional) Enter the IPv4 addresses of the pre-specified hops for the ping packet to take.
  • destination — Enter the IP address you are testing connectivity on.
Default
Not configured
Command Mode
EXEC
Usage Information
This command uses an ICMP ECHO_REQUEST datagram to receive an ICMP ECHO_RESPONSE from a network host or gateway. Each ping packet has an IPv4 and ICMP header, then a time value and a number of ''pad'' bytes used to fill out the packet. A ping operation sends a packet to a specified IP address and then measures the time that it takes to get a response from the address or device.

If the destination IP address is active, replies are sent back from the server including the IP address, number of bytes sent, lapse time in milliseconds, and TTL, which is the number of hops back from the source to the destination.

When you use the -I option and enter an IP address, OS10 considers it as the source address. If you use an interface name instead of the IP address, OS10 considers it as the egress interface.

With the -I option, if you ping a reachable IP address using the IP address of a loopback interface as the source interface, the ping succeeds. However, if you ping a reachable IP address using the name of the loopback interface as the source interface, the ping fails. This is because the system considers the loopback interface as the egress interface.

Example
OS10# ping 20.1.1.1
PING 20.1.1.1 (20.1.1.1) 56(84) bytes of data.
64 bytes from 20.1.1.1: icmp_seq=1 ttl=64 time=0.079 ms
64 bytes from 20.1.1.1: icmp_seq=2 ttl=64 time=0.081 ms
64 bytes from 20.1.1.1: icmp_seq=3 ttl=64 time=0.133 ms
64 bytes from 20.1.1.1: icmp_seq=4 ttl=64 time=0.124 ms
^C
--- 20.1.1.1 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 2997ms
rtt min/avg/max/mdev = 0.079/0.104/0.133/0.025 ms
Supported Releases
10.2.0E or later

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: <>()\