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
Process whose tracing level is being set. Options include:
Hardware slot where the process for which the trace level is set, is running. Options include:
Module within the process for which the tracing level is set.
Trace level. Options include:
The default tracing level for all modules is notice .
User EXEC (>)
Privileged EXEC (#)
Cisco IOS XE Denali 16.1.1
This command was introduced.
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.
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