System Management 403
The following example displays an address 180.50.1.1 which does not have connectivity.
traceroute
The traceroute User EXEC mode command discovers the routes that packets will actually take when
traveling to their destination.
Syntax
•
traceroute
ip-address
|
hostname
[
size
packet_size
] [
ttl
max-ttl
] [
count
packet_count
] [
timeout
time_out
] [
source
ip-address
] [
tos
tos
]
•
traceroute
ipv6
{
ipv6-address
|
hostname
} [
size
packet_size
] [
ttl
max-ttl
] [
count
packet_count
]
[
timeout
time_out
] [
source
ip-address
] [
tos
tos
]
•
ipv6
— IPv6 checks the network connectivity.
•
ip4-address —
Destination host IPv4 address. (Range: Valid IP Address)
•
ip6-address —
Unicast or multicast IPv6 address to ping. When the IPv6 address is a Link Local
address (IPv6Z address), the outgoing interface name must be specified. Refer to the usage
guidelines for the interface name syntax.
•
hostname —
Hostname of the destination host. (Range: 1 - 158 characters)
•
size
packet_size —
Number of bytes in a packet. (Range: 40 - 1472)
•
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)
Default Configuration
size
packet_size —
The default is 40 bytes.
ttl
max-ttl —
The default is 30.
Console# ping 180.50.1.1
Pinging 180.50.1.1 with 56 bytes of data:
PING: net-unreachable
PING: net-unreachable
PING: net-unreachable
5400_CLI.book Page 403 Wednesday, December 17, 2008 4:33 PM