Chapter 4
| System Management Commands
Event Logging
– 127 –
show logging
This command displays the configuration settings for logging messages to
local switch memory, to an SMTP event handler, or to a remote syslog server.
Syntax
show logging
{
command
|
flash
|
ram
|
sendmail
|
trap
}
command
- Stores CLI command execution records in syslog RAM
and flash.
flash
- Displays settings for storing event messages in flash
memory (i.e., permanent memory).
ram
- Displays settings for storing event messages in temporary
RAM (i.e., memory flushed on power reset).
sendmail
- Displays settings for the SMTP event handler
(
).
trap
- Displays settings for the trap function.
Default Setting
None
Command Mode
Privileged Exec
Example
The following example shows that system logging is enabled, the message
level for flash memory is “errors” (i.e., default level 3 - 0), and the message
level for RAM is “debugging” (i.e., default level 7 - 0).
Console#show logging flash
Global Configuration:
Syslog Logging : Enabled
Flash Logging Configuration:
History Logging in Flash : Level Errors (3)
Console#show logging ram
Global Configuration:
Syslog Logging : Enabled
Ram Logging Configuration:
History Logging in RAM : Level Debugging (7)
Console#
Table 20: show logging flash/ram - display description
Field
Description
Syslog Logging
Shows if system logging has been enabled via the
command.
History Logging in Flash
The message level(s) reported based on the
command.
History Logging in RAM
The message level(s) reported based on the
command.