System Management Commands
4-59
4
Related Commands
show logging (4-59)
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 {flash | ram | sendmail | trap}
• 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 (page 4-64).
• 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), the message level for RAM is
“informational” (i.e., default level 6 - 0).
Console#show logging flash
Syslog logging: Enabled
History logging in FLASH: level errors
Console#show logging ram
Syslog logging: Enabled
History logging in RAM: level informational
Console#
Table 4-20 show logging flash/ram - display description
Field Description
Syslog logging Shows if system logging has been enabled via the logging on command.
History logging in FLASH The message level(s) reported based on the logging history command.
History logging in RAM The message level(s) reported based on the logging history command.