5.1 Diagnostics Ping (IPv4)
Use this command to issue ICMP (IPv4) Ping (Packet Inter-Network Groper) packets to troubleshoot IP connectivity issues.
Command Syntax:
ping [ ip ] { <domain_name> | <ip_addr> } [ ttl <ttl_value> ] [ repeat <count> ] [ { saddr <src_addr> | sif { <port_type> <src_if> | vlan <vlan_id> } } ] [ size <size> ] [ data <data_value> ] [ { verbose | quiet } ]Argument  | Description  | |
Parameter  | 
  | Destination hostname or FQDN  | 
  | Destination IPv4 address  | |
  | IPv4 TTL: 1–255; Default value is 64  | |
  | Packets: 1–60; Default value is 5  | |
  | Source Address of interface  | |
  | Port type in GigabitEthernet, 2.5GigabitEthernet  | |
  | Port ID in the format of switch-no/port-no  | |
  | Source VLAN interface  | |
  | Size (bytes): 2–1452; Default value is 56  | |
  | Payload data: 0–255; Default value is 0  | |
Default  | N.A  | |
Mode  | User EXEC mode  | |
Usage  | Send ICMP echo messages  | |
Example  | Example 1: Send ten pings to 192.168.0.2  | |
