Logging trap – Accton Technology Direk Tronik ES4524D User Manual

Page 322

Advertising
background image

Event Logging Commands

37-4

37

Command Usage

The command specifies the facility type tag sent in syslog messages. (See
RFC 3164.) This type has no effect on the kind of messages reported by the
switch. However, it may be used by the syslog server to sort messages or to
store messages in the corresponding database.

Example

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 syslog severity levels listed in the table on page 37-2.
Messages sent include the selected level up through level 0.

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 facility 19
Console(config)#

Console(config)#logging trap 4
Console(config)#

Advertising
This manual is related to the following products: