beautypg.com

Logging trap, Logging trap -42, 42 logging trap – SMC Networks TigerSwitch 100 User Manual

Page 186

background image

C

OMMAND

L

INE

I

NTERFACE

3-42

logging trap

Use this command to limit 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

logging trap level
no logging trap level

level - One of the level arguments listed below. Messages sent
include the selected level up through level 0.

Default Setting

Level 3 - 0

Command Mode

Global Configuration

Example

Level Argument

Level Description

Syslog Definition

emergencies

0

System unusable

LOG_EMERG

alerts

1

Immediate action needed LOG_ALERT

critical

2

Critical conditions

LOG_CRIT

errors

3

Error conditions

LOG_ERR

warnings

4

Warning conditions

LOG_WARNING

notifications

5

Normal but significant
condition

LOG_NOTICE

informational

6

Informational messages
only

LOG_INFO

debugging

7

Debugging messages

LOG_DEBUG

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