Troubleshooting

Using the Event Log To Identify Problem Sources

The log status line at the bottom of the display identifies where in the sequence of event messages the display is currently positioned.

To display various portions of the Event Log, either preceding or following the currently visible portion, use either the actions listed at the bottom of the display (Next page, Prev page, or End), or the keys described in the following table:

Table 11-2. Event Log Control Keys

Key Action

[N]Advance the display by one page (next page).

[P]Roll back the display by one page (previous page).

[ v]

Advance display by one event (down one line).

[ ^]

Roll back display by one event (up one line).

[E]Advance to the end of the log.

[H]Display Help for the event log.

CLI:

Using the CLI, you can 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

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

HP2512> show logging

Lists recorded log messages since

 

last reboot.

HP2512> show logging -a

Lists all recorded log messages.

HP2512> show logging -a system

Lists all log messages having

 

"system" in the text or module

 

name.

HP2512> show logging system

Lists all log messages since the

 

last reboot that have "system" in

 

the text or module name.

Troubleshooting

11-13