Skip to Main Content
Cisco IOS in a Nutshell, 2nd Edition
book

Cisco IOS in a Nutshell, 2nd Edition

by James Boney
August 2005
Intermediate to advanced content levelIntermediate to advanced
798 pages
31h 12m
English
O'Reilly Media, Inc.
Content preview from Cisco IOS in a Nutshell, 2nd Edition

Name

trace, traceroute — command

Synopsis

trace [host]
traceroute [ host]

Description

This command allows you to determine the most likely path to a specified host. It is often useful in troubleshooting, and is similar to the traceroute command on Unix systems or the tracert command on Windows systems. If you omit the hostname, you’ll be prompted for the necessary information. As with the ping command, the prompts differ depending on the mode you are in. The output from the trace command uses the special characters shown in Table 17-26.

Table 17-26. Special characters for trace output

Character

Meaning

xx msec

Round-trip time in milliseconds.

*

Packet timeout.

?

Unknown packet received.

A

Administratively unreachable; possibly means that an access list or equivalent function on another router is blocking the packets.

H

Host is unreachable.

N

Network is unreachable.

P

Protocol is unreachable.

Q

Source quench.

U

Port unreachable.

Example

This example shows what happens when you use the trace command without supplying a hostname. Note that you’re prompted for many values that can’t be specified on the command line. Omitting the hostname therefore gives you more control over the command’s behavior than you would otherwise have.

Router#trace Protocol [ip]: Protocol Target IP address: 10.10.1.2 Can be hostname or network address Source address: The IP address of the interface to use Numeric display [n]: y Numeric display is not the default Timeout in seconds [3]: Seconds to ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

CISCO IOS in a Nutshell

CISCO IOS in a Nutshell

James Boney
Cisco IOS Cookbook, 2nd Edition

Cisco IOS Cookbook, 2nd Edition

Kevin Dooley, Ian Brown
Cisco Software-Defined Access

Cisco Software-Defined Access

Srilatha Vemula, Jason Gooley, Roddie Hasan

Publisher Resources

ISBN: 0596008694Errata