SYSTEM MANAGEMENT COMMANDS

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

Console#clear logging

Console#

Related Commands

show logging (4-63)

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-70).

-trap - Displays settings for the trap function.

4-63

Page 311
Image 311
SMC Networks SMC6224M manual Syntax Clear logging flash ram, Syntax Show logging flash ram sendmail trap