beautypg.com

Event logging commands, Logging on, Table 23-8 – Asante Technologies 40240/40480-10G User Manual

Page 432

background image

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

Default Setting

Flash: errors (level 3 - 0)
RAM: warnings (level 7 - 0)

Command Mode

Global Configuration

Command Usage

The message level specified for flash memory must be a higher priority (i.e.,
numerically lower) than that specified for RAM.

Example

Console(config)#logging history ram 0

Console(config)#

23-27

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 23-9 Logging Levels

Level

7

6

5

4

3

2

1

0

Severity Name

Description

debugging Debugging

messages

informational

Informational messages only

notifications

Normal but significant condition, such as cold start

warnings

Warning conditions (e.g., return false, unexpected return)

errors

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

critical

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

memory error - resource exhausted)

alerts

Immediate action needed

emergencies System

unusable

Event Logging Commands

23