C
HAPTER
20
| System Management Commands
Event Logging
– 559 –
COMMAND MODE
Privileged Exec
EXAMPLE
Console#clear log
Console#
RELATED COMMANDS
show log (559)
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
COMMAND USAGE
◆ All log messages are retained in RAM and Flash after a warm restart
(i.e., power is reset through the command interface).
◆ All log messages are retained in Flash and purged from RAM after a
cold restart (i.e., power is turned off and then on through the power
source).
EXAMPLE
The following example shows the event message stored in RAM.
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#