User Manual

Table Of Contents
[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.
SWX232x#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)
[Input mode]
privileged EXEC mode
[Description]
Shows information for the route to the specified host.
[Example]
Check the route to 192.168.100.1.
SWX232x#traceroute 192.168.100.1
traceroute to 192.168.100.1 (192.168.100.1), 30 hops max
1 192.168.10.1 (192.168.10.1) 0.563 ms 0.412 ms 0.428 ms
2 192.168.20.1 (192.168.20.1) 0.561 ms 0.485 ms 0.476 ms
3 192.168.30.1 (192.168.30.1) 0.864 ms 0.693 ms 21.104 ms
4 192.168.40.1 (192.168.40.1) 0.751 ms 0.783 ms 0.673 ms
234 | Command Reference | Layer 3 functions