User’s Manual of WGSD-1022/WGSD-8000
- 314 –
packet_size
— Number of bytes in a packet. The actual packet size is eight bytes larger than the size specified because
the switch adds header information.(Range: 57 - 1472 bytes)
packet_count
— Number of packets to send. If 0 is entered it pings until stopped. (Range: 1 - 65535 packets)
time_out
— Timeout in milliseconds to wait for each reply. (Range: 1 - 65535 milliseconds
Default Configuration
The default packet size is 56 bytes.
The default packet count is 4 packets.
The default time-out is 1,000 milliseconds.
Command Mode
User EXEC mode
User Guidelines
Press
Esc
to stop pinging. Following are sample results of the
ping
command:
Destination does not respond
—If the host does not respond, a
“no answer from hos
t” message appears in 10 seconds.
Destination unreachable
—The gateway for this destination indicates that the destination is unreachable.
Network or host unreachable
—The switch found no corresponding entry in the route table.
To ping an out-of-band IP address, use the out-of-band IP address format —
oob/ip-address
.
Examples
The following example displays a ping to IP address 10.1.1.1.
Console#
ping
10.1.1.1
64 bytes from 10.1.1.1: icmp_seq=0. time=11 ms
64 bytes from 10.1.1.1: icmp_seq=1. time=8 ms
64 bytes from 10.1.1.1: icmp_seq=2. time=8 ms
64 bytes from 10.1.1.1: icmp_seq=3. time=7 ms
^C
----10.1.1.1 PING Statistics----
4 packets transmitted, 4 packets received, 0% packet loss
round-trip (ms) min/avg/max = 7/8/11
Console>
5.23.2 traceroute
The
traceroute
User EXEC command discovers the routes that packets will actually take when traveling to their destination.