Cisco 340 Series Configuration Manual page 27

Table of Contents

Advertisement

Chapter 2
Configuring Local CLI - CLISH
traceroute
To discover the routes that packets will pass through when traveling to their destination address, use the
traceroute command in the user configuration mode or the global configuration mode.
Syntax Description
protocol
destination
resolve
source ip_address
interface
interface_name
Command Modes
User configuration
Global configuration
Usage Guidelines
The traceroute command works by taking advantage of the error messages generated by devices when
a datagram exceeds its hop limit value.
The traceroute command first sends probe datagrams with a hop limit of 1. Including a hop limit of 1
with a probe datagram causes the neighboring devices to discard the probe datagram and send back an
error message. The traceroute command sends several probes with increasing hop limits and displays
the round-trip time for each.
The traceroute command sends out one probe at a time. Each outgoing packet might result in one or
more error messages. A
discarded the probe. A
received and discarded the probe because the hop limit of the packet has reached a value of 0. If the timer
goes off before a response comes in, the traceroute command prints an asterisk (*).
The traceroute command is terminated when the destination responds, when the hop limit is exceeded,
or when the user interrupts the trace with the escape sequence. By default, to invoke the escape sequence,
simultaneously press and release the Ctrl, Shift, and 6 keys, and then press the X key.
OL-29491-01
traceroute [protocol] destination [ [resolve] source ip_address | interface interface_name]
(Optional) Protocol; either IP or IPv6. When not specified, the protocol
argument is based on an examination of the destination format by the software.
The default protocol is IP.
The destination address or hostname of the route that you want to trace.
Resolves the hostname.
Specifies the source IP address.
Specifies the source interface.
time-exceeded
destination unreachable
error message indicates that an intermediate device has seen and
error message indicates that the destination node has
Cisco Edge 340 Series Software Configuration Guide, Release 1.0
traceroute
2-9

Advertisement

Table of Contents
loading

Table of Contents