set platform software trace
To set the trace level for a specific module within a process, use the set platform software trace command in privileged EXEC or user EXEC mode.
set platform software trace process slot module trace-level
Syntax Description
process |
Process whose tracing level is being set. Options include:
|
slot |
Hardware slot where the process for which the trace level is set, is running. Options include:
|
module |
Module within the process for which the tracing level is set. |
trace-level |
Trace level. Options include:
|
Command Default
The default tracing level for all modules is notice .
Command Modes
User EXEC (>)
Privileged EXEC (#)
Command History
Release |
Modification |
---|---|
Cisco IOS XE Denali 16.1.1 |
This command was introduced. |
Usage Guidelines
The module options vary by process and by hardware-module . Use the ? option when entering this command to see which module options are available with each keyword sequence.
Use the show platform software trace message command to view trace messages.
Trace files are stored in the tracelogs directory in the harddisk: file system. These files can be deleted without doing any harm to your switch operation.
Trace file output is used for debugging. The trace level is a setting that determines how much information should be stored in trace files about a module.
Examples
This example shows how to set the trace level for all the modules in dbm process:
Device# set platform software trace dbm R0 all-modules debug