beautypg.com

Logging facility, Logging trap, Logging facility -62 logging trap -62 – SMC Networks SMC TigerStack III SMC6824MPE User Manual

Page 324

background image

C

OMMAND

L

INE

I

NTERFACE

4-62

logging facility

This command sets the facility type for remote logging of syslog messages.
Use the no form to return the type to the default.

Syntax

[no] logging facility type

type - A number that indicates the facility used by the syslog server to
dispatch log messages to an appropriate service. (Range: 16-23)

Default Setting

23

Command Mode

Global Configuration

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
and limits the messages saved based on severity. Use the no form to disable
remote logging.

Syntax

[no] logging trap [level]

level - One of the syslog severity levels. Messages sent include the
selected level up through level 0. (Refer to the table on page 4-60.)

Default Setting

Level 3 - 0

Console(config)#logging facility 19
Console(config)#