Logging on, Logging trap – LevelOne GTL-2691 User Manual

Page 801

Advertising
background image

C

HAPTER

24

| System Management Commands

Event Logging

– 801 –

E

XAMPLE

Console(config)#logging host 10.1.0.3

Console(config)#

logging on

This command controls logging of error messages, sending debug or error

messages to a logging process. The no form disables the logging process.

S

YNTAX

[no] logging on

D

EFAULT

S

ETTING

None

C

OMMAND

M

ODE

Global Configuration

C

OMMAND

U

SAGE

The logging process controls error messages saved to switch memory or

sent to remote syslog servers. You can use the

logging history

command to

control the type of error messages that are stored in memory. You can use

the

logging trap

command to control the type of error messages that are

sent to specified syslog servers.

E

XAMPLE

Console(config)#logging on

Console(config)#

R

ELATED

C

OMMANDS

logging history (799)

logging trap (801)

clear log (802)

logging trap

This command enables the logging of system messages to a remote server,

or limits the syslog messages saved to a remote server based on severity.

Use this command without a specified level to enable remote logging. Use

the no form to disable remote logging.

S

YNTAX

logging trap [level level]
no logging trap [level]

level - One of the syslog severity levels listed in the table on

page 799

. Messages sent include the selected level through level 0.

Advertising