-a
Displays all recorded log messages, including those before the last reboot.
-b
Displays log events as the time since the last reboot instead of in a date/time format.
-r
Displays all recorded log messages, with themost recent entries listed first (reverse order).
-s
Displays the active management module (AM) and standby management module (SM) log
events.
-t
Displays the log events with a granularity of 10 milliseconds.
-m
Displays only major log events.
-e
Displays only error event class.
-p
Displays only performance log events.
-w
Displays only warning log events.
-i
Displays only informational log events.
-d
Displays only debug log events.
filter
Displays only log filter configuration and status information.
<option-
str>
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.
Example:
To display all Event Log messages that have "system" in the message text or module name, enter the following
command:
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:
switch# show logging system
Clearing Event Log entries
Syntax:
Removes all entries from the event log display output.
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.
To redisplay all hidden entries, including Event Log entries recorded prior to the last reboot, enter the show
logging -a command.
340 Aruba 2530 Management and Configuration Guide for
ArubaOS-Switch 16.05