2 traceroute, Examples, Syntax – PLANET WGSD-1022 User Manual
Page 286

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.
Syntax
traceroute ip-address |hostnme [size packet_size] [ttl max-ttl] [count packet_count] [timeout time_out]
[source ip-address] [tos tos]
ip-address — IP address of the destination host. An out-of-band IP address can be specified as
described in the usage guidelines. (Range: 1 - 160 characters)
hostname — Hostname of the destination host (Range: Valid IP Address)
size packet_size — Number of bytes in a packet. (Range: 40-1500)
ttl max-ttl—The largest TTL value that can be used. The traceroute command terminates when
the destination is reached or when this value is reached. (Range:1-255)
count packet_count — The number of probes to be sent at each TTL level. (Range:1-10)
timeout time_out — The number of seconds to wait for a response to a probe packet.
(Range:1-60)
source ip-address — One of the interface addresses of the device to use as a source address for
the probes. The device will normally pick what it feels is the best source address to use. (Range:
Valid IP Address)
tos tos — The Type-Of-Service byte in the IP Header of the packet. (Range: 0-255)