Sends ICMP (Internet Controller Message Protocol) echo messages to a user-specified location
Note
This command and its syntax is common to both the User Executable and Privilege Executable configuration modes.ping <IP/HOSTNAME> {count <1-10000>|dont-fragment {count|size}|size <1-64000>| source [<IP>|pppoe|vlan <1-4094>|wwan]}
ping <IP/HOSTNAME> {count <1-10000>|dont-fragment {count|size}|size <1-64000>| source [<IP>|pppoe|vlan <1-4094>|wwan]}
<IP/HOSTNAME> |
Specify the destination IP address or hostname. When entered without any parameters, this command prompts for an IP address or a hostname. |
count <1-10000> |
Optional. Sets the pings to the specified destination
|
dont-fragment {count|size} |
Optional. Sets the don‘t fragment bit in the ping packet. Packets with the dont-fragment bit specified are not fragmented. When a packet, with the dont-fragment bit specified, exceeds the specified MTU (maximum transmission unit) value, an error message is sent from the device trying to fragment it.
|
size <1-64000> |
Optional. Sets the ping payload size in bytes
|
source [<IP>|pppoe| vlan <1-4094>|wwan] | Optional. Sets the source address or interface
name. This is the source of the ICMP packet to the specified destination.
|
NOC-NX9500>ping 10.234.160.13 PING 10.234.160.13 (10.234.160.13) 100(128) bytes of data. 108 bytes from 10.234.160.13: icmp_seq=1 ttl=64 time=3.61 ms 108 bytes from 10.234.160.13: icmp_seq=2 ttl=64 time=0.177 ms 108 bytes from 10.234.160.13: icmp_seq=3 ttl=64 time=0.162 ms 108 bytes from 10.234.160.13: icmp_seq=4 ttl=64 time=0.167 ms 108 bytes from 10.234.160.13: icmp_seq=5 ttl=64 time=0.170 ms --- 10.234.160.13 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4000ms rtt min/avg/max/mdev = 0.162/0.857/3.613/1.378 ms NOC-NX9500>
NOC-NX9500>ping 10.234.160.11 source vlan 1 PING 10.234.160.11 (10.234.160.11) from 10.234.160.5 vlan1: 100(128) bytes of data. 108 bytes from 10.234.160.11: icmp_seq=1 ttl=64 time=6.87 ms 108 bytes from 10.234.160.11: icmp_seq=2 ttl=64 time=0.469 ms 108 bytes from 10.234.160.11: icmp_seq=3 ttl=64 time=0.448 ms 108 bytes from 10.234.160.11: icmp_seq=4 ttl=64 time=0.437 ms 108 bytes from 10.234.160.11: icmp_seq=5 ttl=64 time=0.459 ms --- 10.234.160.11 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4002ms rtt min/avg/max/mdev = 0.437/1.738/6.879/2.570 ms NOC-NX9500>
rfs4000-229D58#ping 10.233.89.182 source vlan 1 PING 10.233.89.182 (10.233.89.182) from 192.168.13.24 vlan1: 100(128) bytes of data. From 192.168.13.2 icmp_seq=1 Packet filtered From 192.168.13.2 icmp_seq=2 Packet filtered From 192.168.13.2 icmp_seq=3 Packet filtered From 192.168.13.2 icmp_seq=4 Packet filtered From 192.168.13.2 icmp_seq=5 Packet filtered --- 10.233.89.182 ping statistics --- 5 packets transmitted, 0 received, +5 errors, 100% packet loss, time 3997ms rfs4000-229D58#