Command Line Interface

4-46

4
The following example displays settings for the trap function.
Related Commands
show logging sendmail (4-50)

show log

This command displays the system and event messages stored in memory.
Syntax
show log {flash | ram} [login]
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).
login - Shows the login record only.
Default Setting
None
Command Mode
Privileged Exec
Command Usage
This command shows the system and event messages stored in memory,
including the time stamp, message level (page 4-42), program module,
function, and event number.
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 4-16 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.