ping

Sends an ICMP echo request to the network host.
Syntax
ping options
Command Default

No ICMP echo requests are sent.

Parameters
options
Specifies the desired response.
Modes

Privileged EXEC mode

Usage Guidelines

Use the command when troubleshooting to ping an IP address to determine connectivity issues and the network path to the network host server.

This command is supported on all the controllers including the SmartZone Data Plane.

Examples

The following example shows how to ping a network host at IP address 172.17.20.162.

device> ping 172.17.20.182
Start ping server (172.17.20.182) for 3 times...
PING 172.17.20.182 (172.17.20.182) 56(84) bytes of data.
64 bytes from 172.17.20.182: icmp_req=1 ttl=63 time=1.64 ms
64 bytes from 172.17.20.182: icmp_req=2 ttl=63 time=1.15 ms
64 bytes from 172.17.20.182: icmp_req=3 ttl=63 time=1.01 ms
--- 172.17.20.182 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2002ms
rtt min/avg/max/mdev = 1.015/1.271/1.647/0.273 ms.

The following example shows what happens when a host cannot be found.

device> ping 10.15.5.3
Pinging 10.15.5.3 with 32 bytes of data:
Request timed out.
Request timed out.
Request timed out.
Request timed out.