Logging host, Logging on – Microsens MS453490M Management Guide User Manual

Page 532

Advertising
background image

C

HAPTER

21

| System Management Commands

Event Logging

– 532 –

logging host

This command adds a syslog server host IP address that will receive

logging messages. Use the no form to remove a syslog server host.

S

YNTAX

[no] logging host host-ip-address

host-ip-address - The IP address of a syslog server.

D

EFAULT

S

ETTING

None

C

OMMAND

M

ODE

Global Configuration

C

OMMAND

U

SAGE

Use this command more than once to build up a list of host IP

addresses.

The maximum number of host IP addresses allowed is five.

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)#

Advertising