How Tracing Works
Tracing logs the contents of internal events on a router. Trace files containing all the trace output pertaining to a module are periodically created and updated and stored in the tracelog directory. Trace files can be erased from this directory to recover space on the file system without impacting system performance. The files can be copied to other destinations using file transfer functions (such as FTP and TFTP) and opened using a plain text editor.
![]() Note |
Tracing cannot be disabled on a router. |
Use the following commands to view trace information and set tracing levels:
-
show logging process module—Shows the most recent trace information for a specific module. This command can be used in privileged EXEC and diagnostic modes. When used in diagnostic mode, this command can gather trace log information during a Cisco IOS XE failure.
-
set platform software trace—Sets a tracing level that determines the types of messages that are stored in the output. For more information on tracing levels, see Tracing Levels.


Feedback