beautypg.com

Show log, Show logging – LevelOne GTL-2691 User Manual

Page 803

background image

C

HAPTER

24

| System Management Commands

Event Logging

– 803 –

show log

This command displays the log messages stored in local memory.

S

YNTAX

show log {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).

D

EFAULT

S

ETTING

None

C

OMMAND

M

ODE

Privileged Exec

E

XAMPLE

The following example shows the event message stored in RAM.

Console#show log ram

[1] 00:01:30 2001-01-01

"VLAN 1 link-up notification."

level: 6, module: 5, function: 1, and event no.: 1

[0] 00:01:30 2001-01-01

"Unit 1, Port 1 link-up notification."

level: 6, module: 5, function: 1, and event no.: 1

Console#

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.

S

YNTAX

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 808

).

trap - Displays settings for the trap function.

D

EFAULT

S

ETTING

None

C

OMMAND

M

ODE

Privileged Exec