System Management Commands 4

Default Setting

Disabled

Level 7 - 0

Command Mode

Global Configuration

Command Usage

Using this command with a specified level enables remote logging and sets the minimum severity level to be saved.

Using this command without a specified level also enables remote logging, but restores the minimum severity level to the default.

Example

Console(config)#logging trap 4

Console(config)#

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

Console#clear log

Console#

Related Commands

show log (4-47)

4-45