SYSTEM MANAGEMENT COMMANDS

Example

Console(config)#logging on

Console(config)#

Related Commands

logging history (4-59) clear logging (4-63)

logging history

This command limits syslog messages saved to switch memory 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 levels listed below. Messages sent include the selected level down to level 0. (Range: 0-7)

Table 4-18 Logging Levels

Level

Severity Name

Description

7

debugging

Debugging messages

 

 

 

6

informational

Informational messages only

 

 

 

5

notifications

Normal but significant condition, such as cold

 

 

start

 

 

 

4

warnings

Warning conditions (e.g., return false,

 

 

unexpected return)

 

 

 

3

errors

Error conditions (e.g., invalid input, default

 

 

used)

 

 

 

2

critical

Critical conditions (e.g., memory allocation, or

 

 

free memory error - resource exhausted)

 

 

 

* There are only Level 2, 5 and 6 error messages for the current firmware release.

4-59

Page 307
Image 307
SMC Networks SMC6224M manual Logging history 4-59 clear logging, Logging Levels