Lantronix
SISPM1040-582-LRT CLI Reference
33757 Rev. J
Page
127
of
272
18 Ping Commands
Command
:
ping
Description
:
Send ICMP echo messages.
Syntax
:
ping
ip { <v_ip_addr> | <v_ip_name> } [ repeat <count> ] [ size <size> ] [ interval <seconds> ]
ping
ipv6 { <v_ipv6_addr> | <v_ipv6_name> } [ repeat <count> ] [ size <size> ] [ interval <seconds> ] [ interface
vlan <v_vlan_id> ]
Parameters
: ip
IP (ICMP) echo
ipv6
IPv6 (ICMPv6) echo
<domain_name> ICMP destination IP domain name
<ipv4_addr> ICMP destination IPv4 address
interval Specify repeat interval
repeat Specify repeat count
size Specify datagram size
<0-30>
0-30; Default is 0
repeat
Specify repeat count
size
Specify datagram size
<1-60>
1-60; Default is 5
size
Specify datagram size
<2-1452> 2-1452; Default is 56 (excluding MAC, IP and ICMP headers)
<cr>
Example
:
SISPM1040-582-LRT#
ping ip 192.168.1.100 interval 5 size 5 repeat 5
PING server 192.168.1.100, 5 bytes of data.
13 bytes from 192.168.1.100: icmp_seq=0, time<10ms
13 bytes from 192.168.1.100: icmp_seq=1, time=10ms
13 bytes from 192.168.1.100: icmp_seq=2, time<10ms
13 bytes from 192.168.1.100: icmp_seq=3, time<10ms
13 bytes from 192.168.1.100: icmp_seq=4, time<10ms
Sent 5 packets, received 5 OK, 0 bad
SISPM1040-582-LRT#
Messages
:
recvfrom: Operation timed out
Sent 10 packets, received 0 OK, 0 bad