C
OMMAND
L
INE
I
NTERFACE
4-62
Example
clear 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
Related Commands
show log (4-64)
show logging
This command displays the configuration settings for logging messages to
local switch memory, to an SMTP event handler, or to a remote syslog server.
Syntax
show logging {flash | ram | sendmail | trap}
• flash - Displays settings for storing event messages in flash memory
(i.e., permanent memory).
• ram - Displays settings for storing event messages in temporary RAM
(i.e., memory flushed on power reset).
Console(config)#logging trap 4
Console(config)#
Console#clear log
Console#