Show logging – Microsens MS453490M Management Guide User Manual
Page 535

C
HAPTER
21
| System Management Commands
Event Logging
– 535 –
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.
S
YNTAX
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
(
trap - Displays settings for the trap function.
D
EFAULT
S
ETTING
None
C
OMMAND
M
ODE
Privileged Exec
E
XAMPLE
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
Syslog logging: Enabled
History logging in FLASH: level errors
Console#show logging ram
Syslog logging: Enabled
History logging in RAM: level debugging
Console#
The following example displays settings for the trap function.
Console#show logging trap
Syslog logging: Enable
REMOTELOG Status: disable
REMOTELOG Facility Type: Local use 7
Table 47: 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.