E
VENT
L
OGGING
C
OMMANDS
20-47
Related Commands
show logging sendmail (20-52)
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
Example
The following example shows the event message stored in RAM.
REMOTELOG
level type
The severity threshold for syslog messages sent to a remote
server as specified in the logging trap command.
REMOTELOG
serverIP address
The address of syslog servers as specified in the logging
host command.
Console#show log ram
[1] 00:01:30 2001-01-01
"VLAN 1 link-up notification."
level: 6, module: 5, function: 1, and event no.: 1
[0] 00:01:30 2001-01-01
"Unit 1, Port 1 link-up notification."
level: 6, module: 5, function: 1, and event no.: 1
Console#
Table 20-15 show logging trap - display description (Continued)
Field Description