C
HAPTER
44
| IP Interface Commands
IPv4 Interface
– 1031 –
Address is 00-12-CF-DA-FC-E8
Index: 1001, MTU: 1500
Address Mode is DHCP
IP Address: 192.168.0.2 Mask: 255.255.255.0
Console#
RELATED COMMANDS
ip address (1028)
show ipv6 interface (1045)
traceroute This command shows the route packets take to the specified destination.
SYNTAX
traceroute host
host - IP address or alias of the host.
DEFAULT SETTING
None
COMMAND MODE
Privileged Exec
COMMAND USAGE
◆ Use the traceroute command to determine the path taken to reach a
specified destination.
◆ A trace terminates when the destination responds, when the maximum
time out (TTL) is exceeded, or the maximum number of hops is
exceeded.
◆ The traceroute command first sends probe datagrams with the TTL
value set at one. This causes the first router to discard the datagram
and return an error message. The trace function then sends several
probe messages at each subsequent TTL level and displays the round-
trip time for each message. Not all devices respond correctly to probes
by returning an “ICMP port unreachable” message. If the timer goes off
before a response is returned, the trace function prints a series of
asterisks and the “Request Timed Out” message. A long sequence of
these messages, terminating only when the maximum time out has
been reached, may indicate this problem with the target device.
EXAMPLE
Console#traceroute 192.168.0.1
Press "ESC" to abort.
Source address: 192.168.0.9
Destination address: 192.168.0.1
Hop IP Address Packet 1 Packet 2 Packet 3
---------------------------------------------------------------------------
1 192.168.0.1 <10 ms <10 ms <10 ms