Troubleshooting
Using the Event Log To Identify Problem Sources
Show Logging
The show logging command causes event log provides various options to
display log messages including support of keyword searches.
Syntax:
show logging [-a, -r] [<search-text>]
Uses the CLI to list:
• Events recorded since the last boot of the switch
• All events recorded
• Event entries containing a specific keyword, either since
the last boot or all events recorded
show logging
Lists recorded log messages since last reboot in
chronological order.
show logging -a
Lists all recorded log messages, including those before the
last reboot.
show logging -r
Lists all recorded log messages, with the most recent entries
listed first.
show logging -a system
Lists log messages with “system” in the text or module
name.
show logging system
Lists all log messages since the last reboot that have
“system” in the text or module name.
CLI: Clearing Event Log Entries
The clear logging command causes event log entries to be hidden from display
when using the standard show logging command. The show logging -a com-
mand option can still be used to display all hidden items, including event log
entries recorded prior to the last reboot.
Syntax:
clear logging
Removes all entries from the event log display output.
C-30