Troubleshooting

Using the Event Log for Troubleshooting Switch Problems

Key Action

[^]Rolls back display by one event (up one line).

[E]Advances to the end of the log.

[H]Displays Help for the Event Log.

CLI: Displaying the Event Log

To display messages recorded in the event log from the CLI, enter the show logging command. Keyword searches are supported.

Syntax: show logging [-a, -r] [<search-text>]

By default, the show logging command displays the log messages recorded since the last reboot in chronological order.

-adisplays all recorded log messages, including those before the last reboot.

-rdisplays all recorded log messages, with the most recent entries listed first.

<search-text>displays all Event Log entries that contain the specified text. Use a <search-text>value with -aor -rto further filter show logging command output.

Examples. To display all Event Log messages that have “system” in the message text or module name, enter the following command:

ProCurve# show logging -a system

To display all Event Log messages recorded since the last reboot that have the word, “system”, in the message text or module name, enter:

ProCurve# show logging system

CLI: Clearing Event Log Entries

Use the clear logging command to hide, but not erase, Event Log entries displayed in show logging command output. Only new entries generated after you enter the command will be displayed.

C-32