PurposeCommand or Action
Device# debug platform condition stop
(Optional) Displays historical logs of merged tracefiles on
the system. Filter on any combination of number of days
or location.
request platform software trace archive [last {number}
days] [target {crashinfo: | flashinfo:}]
Example:
Step 6
Device# request platform software trace archive
last 2 days
(Optional) Displays logs merged from the latest tracefile.
Filter on any combination of application condition, trace
module name, and trace level.
show platform software trace [filter-binary | level |
message]
Example:
Step 7
• filter-binary - Filter the modules to be collated
Device# show platform software trace message
• level - Show trace levels
• message - Show trace message ring contents
On the device:
• Available from IOS console in addition to
linux shell.
• Generates a file with merged logs.
• Displays merged logs only from staging
area
Note
Clears all conditions.clear platform condition all
Example:
Step 8
Device# clear platform condition all
What to do next
The commands request platform software trace filter-binary and show platform software trace
filter-binary work in a similar way. The only difference is:
Note
• request platform software trace filter-binary - Sources the data from historical logs.
• show platform software trace filter-binary – Sources the data from the flash Temp directory.
Of these, mac_log <..date..> is the most important file, as it gives the messages for the MAC we are debugging.
The command show platform software trace filter-binaryalso generates the same flash files, and also prints
the mac_log on the screen.
System Management Configuration Guide, Cisco IOS XE Gibraltar 16.10.x (Catalyst 9200 Switches)
234
Conditional Debug and Radioactive Tracing
Configuring Conditional Debugging