COMMAND LINE INTERFACE

Command Usage

The logging process controls error messages to be sent to SNMP trap receivers. You can use the logging history command to control the type of error messages that are stored in memory and sent to a specified SNMP trap receiver.

Example

Console(config)#logging on

Console(config)#

Related Commands

logging history clear logging

logging history

Use this command to limit syslog messages sent to the Simple Network Management Protocol network management station based on severity. The no form returns the logging of syslog messages to the default level.

Syntax

logging history {flash ram} level no logging history {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.)

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

Level Argument

Level

Description

 

 

 

emergencies

0

System unusable

 

 

 

alerts

1

Immediate action needed

 

 

 

critical

2

Critical conditions

 

 

 

errors

3

Error conditions

 

 

 

warnings

4

Warning conditions

 

 

 

3-32

Page 168
Image 168
SMC Networks SMC7724M/VSW manual Logging history clear logging