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
REMOTELOG level type:
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#
Field
Syslog logging
REMOTELOG status
REMOTELOG
facility type
REMOTELOG level type The severity threshold for syslog messages sent to a remote server as specified
REMOTELOG
server IP address
Related Commands
show logging sendmail (23-35)
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
Debugging messages
Table 23-11 show logging trap - display description
Description
Shows if system logging has been enabled via the logging on command.
Shows if remote logging has been enabled via the logging trap command.
The facility type for remote logging of syslog messages as specified in the
logging facility command.
in the logging trap command.
The address of syslog servers as specified in the logging host command.
Event Logging Commands
23
23-31