User Manual

Table Of Contents
7.5.1 IPv4 ping
[Syntax]
ping host [repeat count] [size datalen] [timeout timeout] [source ip_address]
[Keyword]
repeat : Specifies the number of times to execute
size : Specifies the length of the ICMP payload (byte units)
timeout : Specifies the time to wait for a reply after transmitting the specified number of Echo requests
source : Sets the source address for ICMP packets
[Parameter]
host : Target to which ICMP Echo is sent
Host name, or target IP address (A.B.C.D)
count : Number of times to execute (if omitted: 5)
Setting value Description
<1-2147483647> Execute the specified number of times
continuous Execute repeatedly until Ctrl+C is entered
datalen : <36-18024>
Length of the ICMP payload (if omitted: 56)
timeout : <1-65535>
Time to wait for a reply (if omitted: 2)
This is ignored if the number of times to execute is specified as "continuous"
ip_address : A.B.C.D
IPv4 address
[Input mode]
privileged EXEC mode
[Description]
Send ICMP Echo to the specified host, and wait for ICMP Echo Reply.
If there is a reply, show it. Show statistical information when the command ends.
[Example]
Ping the IP address 192.168.100.254 three times with a data size of 120 bytes.
SWR2310#ping 192.168.100.254 repeat 3 size 120
PING 192.168.100.254 (192.168.100.254): 120 data bytes
128 bytes from 192.168.100.254: seq=0 ttl=255 time=8.368 ms
128 bytes from 192.168.100.254: seq=1 ttl=255 time=9.946 ms
128 bytes from 192.168.100.254: seq=2 ttl=255 time=10.069 ms
--- 192.168.100.254 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 8.368/9.461/10.069 ms
7.5.2 Check IPv4 route
[Syntax]
traceroute host
[Parameter]
host : Destination for which to check the route
Host name, or target IP address (A.B.C.D)
Command Reference | Layer 3 functions | 239