C
OMMAND
L
INE
I
NTERFACE
4-64
clear logging
This command clears messages from the log buffer.
Syntax
clear logging [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 logging (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).
• sendmail - Displays settings for the SMTP event handler
(page 4-71).
• trap - Displays settings for the trap function.
Console#clear logging
Console#