Management and Configuration Guide K/KA/KB.15.15

By default, the show logging command displays the log messages recorded
since the last reboot in chronological order:
Displays all recorded log messages, including those before
the last reboot.
-a
Displays log events as the time since the last reboot instead
of in a date/time format.
-b
Displays all recorded log messages, with themost recent
entries listed first (reverse order.)
-r
Displays all errors in the event class.-e
Displays the active management module (AM) and standby
management module (SM) log events.
-s
Displays the log events with a granularity of 10 milliseconds.-t
Displays only major log events.-m
Displays only performance log events.-p
Displays only warning log events.-w
Displays only informational log events.-i
Displays only debug log events.-d
Displays all Event Log entries that contain the specified text.
Use an option-str value with -a or -r to further filter
show logging command output.
option-str
Example
To display all Event Log messages that have "system" in the message text or module
name, enter the following command:
HP Switch# 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:
HP Switch# show logging system
Viewing the event log from the menu
To view the Event Log from the Main Menu, select Event Log. Figure 203 (page 392) shows a
sample event log display.
Unusual network activity 391