Logging trap, Clear log – Asante Technologies 40240/40480-10G User Manual

Page 435

Advertising
background image

Related Commands

show log (23-31)

show logging

This command displays the configuration settings for logging messages to local
switch memory, to an SMTP event handler, or to a remote syslog server.

Syntax

show logging {flash | ram | sendmail | trap}

flash - Displays settings for storing event messages in flash memory

(i.e., permanent memory).

ram - Displays settings for storing event messages in temporary RAM

(i.e., memory flushed on power reset).

sendmail - Displays settings for the SMTP event handler (page 23-35).

trap - Displays settings for the trap function.

Default Setting

None

Command Mode

Privileged Exec

Example

The following example shows that system logging is enabled, the message level for
flash memory is “errors” (i.e., default level 3 - 0), and the message level for RAM is
“debugging” (i.e., default level 7 - 0).

Console#show logging flash

Syslog logging:

Enabled

History logging in FLASH: level errors

Console#show logging ram

Syslog logging:

Enabled

History logging in RAM: level debugging

Console#

Table 23-10 show logging flash/ram - display description

Field Description

Syslog logging

Shows if system logging has been enabled via the logging on command.

History logging in FLASH The message level(s) reported based on the logging history command.

History logging in RAM

The message level(s) reported based on the logging history command.

23-30

System Management Commands

23

Advertising