Switch User Manual

Event Logging Commands
19-33
19
The following example displays settings for the trap function.
Related Commands
show logging sendmail (19-37)
show log
This command displays the log messages stored in local memory.
Syntax
show log {flash | ram}
flash - Event history stored in flash memory (i.e., permanent memory).
ram - Event history stored in temporary RAM (i.e., memory flushed on
power reset).
Default Setting
None
Command Mode
Privileged Exec
Console#show logging trap
Syslog logging: Enable
REMOTELOG status: disable
REMOTELOG facility type: local use 7
REMOTELOG level type: Debugging messages
REMOTELOG server IP address: 1.2.3.4
REMOTELOG server IP address: 0.0.0.0
REMOTELOG server IP address: 0.0.0.0
REMOTELOG server IP address: 0.0.0.0
REMOTELOG server IP address: 0.0.0.0
Console#
Table 19-12 show logging trap - display description
Field Description
Syslog logging Shows if system logging has been enabled via the logging on command.
REMOTELOG status Shows if remote logging has been enabled via the logging trap command.
REMOTELOG
facility type
The facility type for remote logging of syslog messages as specified in the
logging facility command.
REMOTELOG level type The severity threshold for syslog messages sent to a remote server as specified
in the logging trap command.
REMOTELOG
server IP address
The address of syslog servers as specified in the logging host command.