Configuring Conditional Debugging - Cisco Catalyst 9500 Manual

System management configuration guide, cisco ios xe amsterdam 17.2.x
Hide thumbs Also See for Catalyst 9500:
Table of Contents

Advertisement

Conditional Debug and Radioactive Tracing
The tracefiles in the crashinfo directory are located in the following formats:
1. Process-name_Process-ID_running-counter.timestamp.gz
Example: IOSRP_R0-0.bin_0.14239.20151101234827.gz
2. Process-name_pmanlog_Process-ID_running-counter.timestamp.bin.gz
Example: wcm_pmanlog_R0-0.30360_0.20151028233007.bin.gz

Configuring Conditional Debugging

To configure conditional debugging, follow the steps given below:
Procedure
Step 1
Step 2
Step 3
Step 4
Step 5
Step 6
Step 7
Command or Action
enable
Example:
Device> enable
debug platform condition mac {mac-address}
Example:
Device# debug platform condition mac
bc16.6509.3314
debug platform condition start
Example:
Device# debug platform condition start
show platform condition OR show debug
Example:
Device# show platform condition
Device# show debug
debug platform condition stop
Example:
Device# debug platform condition stop
request platform software trace archive [last
{number} days] [target {crashinfo: |
flashinfo:}]
Example:
# request platform software trace archive
last 2 days
show platform software trace [filter-binary
| level | message]
System Management Configuration Guide, Cisco IOS XE Amsterdam 17.2.x (Catalyst 9500 Switches)
Configuring Conditional Debugging
Purpose
Enables privileged EXEC mode.
• Enter your password if prompted.
Configures conditional debugging for the MAC
Address specified.
Starts conditional debugging (this will start
radioactive tracing if there is a match on one of
the conditions above).
Displays the current conditions set.
Stops conditional debugging (this will stop
radioactive tracing).
(Optional) Displays historical logs of merged
tracefiles on the system. Filter on any
combination of number of days or location.
(Optional) Displays logs merged from the latest
tracefile. Filter on any combination of
305

Advertisement

Table of Contents
loading

Table of Contents