COMMAND LINE INTERFACE

logging trap

This command enables the logging of system messages to a remote server, or limits the syslog messages saved to a remote server based on severity. Use this command without a specified level to enable remote logging. Use the no form to disable remote logging.

Syntax

logging trap [level] no logging trap

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

Default Setting

Level 3 - 0

Command Mode

Global Configuration

Example

Console(config)#logging trap 4

Console(config)#

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

4-62

Page 306
Image 306
SMC Networks SMC8624/48T manual Syntax Logging trap level no logging trap, Syntax Clear logging flash ram