Chapter 4
| System Management Commands
Event Logging
clear log
show log
This command clears messages from the log buffer.
Syntax
clear 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
Flash and RAM
Command Mode
Privileged Exec
Example
Console#clear log
Console#
Related Commands
show log (114)
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).
– 114 –