Chapter 37: Event Logging Commands

This section describes commands used to configure event logging on the switch.

Table 37-1 Event Logging Commands

Command

Function

Mode

Page

 

 

 

 

logging on

Controls logging of error messages

GC

37-1

 

 

 

 

logging history

Limits syslog messages saved to switch memory based on

GC

37-2

 

severity

 

 

logging host

Adds a syslog server host IP address that will receive logging

GC

37-3

 

messages

 

 

logging facility

Sets the facility type for remote logging of syslog messages

GC

37-3

 

 

 

 

logging trap

Limits syslog messages saved to a remote server based on

GC

37-4

 

severity

 

 

clear log

Clears messages from the logging buffer

PE

37-5

 

 

 

 

show logging

Displays the state of logging

PE

37-5

 

 

 

 

show log

Displays log messages

PE

37-6

 

 

 

 

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.

Syntax

[no] logging on

Default Setting

None

Command Mode

Global Configuration

Command Usage

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.

Example

Console(config)#logging on

Console(config)#

37-1

Page 319
Image 319
Accton Technology ES4524D manual Logging on, Event Logging Commands Function Mode, Syntax No logging on Default Setting