A SERVICE OF

logo

Command Line Interface
4-38
Example
logging trap
This command limits syslog messages saved to a remote server based on severity.
Use the no form to return the remote logging of syslog messages to the default
level.
Syntax
[no] logging trap level
level - One of the level arguments listed below. Messages sent include the
selected level up through level 0. (Refer to the table on page 4-36.)
Default Setting
Level 3 - 0
Command Mode
Global Configuration
Example
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-39)
Console(config)#logging facility 19
Console(config)#
Console(config)#logging trap 4
Console(config)#
Console#clear logging
Console#