248
<Execution Example 1>
Overview: Test connectivity to the host.
(1) Test connectivity to the host whose IP address is 192.168.1.10 five times, setting
the timeout to 2 seconds.
(2) Request number and response time are displayed.
(3) Connectivity test results are displayed.
Fig. 9-1 Example of ping execution 1
<Execution Example 2>
Overview: Test connectivity to a host that does not exist.
(1) Test connectivity to the host whose IP address is 192.168.0.1, which does not
exist.
(2) A timeout error is displayed because there is no response.
(3) Connectivity test results are displayed.
Fig. 9-2 Example of ping execution 2
M24eG> ping 192.168.0.1
M24eG> PING 192.168.0.1 (192.168.0.1): 56 data bytes
Error: Request timed out!
Error: Request timed out!
Error: Request timed out!
----192.168.0.1 PING Statistics----
3 packets transmitted, 0 packets received, 100% packet loss
M24eG>
M24eG> ping 192.168.1.10 -w 2 -n 5
M24eG> PING 192.168.1.10 (192.168.1.10): 56 data bytes
64 bytes from 192.168.1.10: icmp_seq=0 time<10 ms
64 bytes from 192.168.1.10: icmp_seq=1 time<10 ms
64 bytes from 192.168.1.10: icmp_seq=2 time<10 ms
64 bytes from 192.168.1.10: icmp_seq=3 time<10 ms
64 bytes from 192.168.1.10: icmp_seq=4 time=10 ms
----192.168.1.10 PING Statistics----
5 packets transmitted, 5 packets received, 0% packet loss
round-trip (ms) min/avg/max = 0/2/10
M24eG>
(1)
(2)
(3)
(1)
(2)
(3)