System Management Commands

4

Event Logging Commands

 

 

 

 

 

 

Table 4-18 Event Logging Commands

 

 

 

 

 

 

 

 

 

 

 

Command

Function

Mode

 

Page

 

 

 

 

 

 

 

logging on

Controls logging of error messages

GC

 

4-55

 

 

 

 

 

 

 

logging history

Limits syslog messages saved to switch memory based on

GC

 

4-56

 

 

severity

 

 

 

 

 

logging host

Adds a syslog server host IP address that will receive logging

GC

 

4-57

 

 

messages

 

 

 

 

 

logging facility

Sets the facility type for remote logging of syslog messages

GC

 

4-57

 

 

 

 

 

 

 

logging trap

Limits syslog messages saved to a remote server based on

GC

 

4-58

 

 

severity

 

 

 

 

 

clear logging

Clears messages from the logging buffer

PE

 

4-58

 

 

 

 

 

 

 

show logging

Displays the state of logging

PE

 

4-59

 

 

 

 

 

 

 

show log

Displays log messages

PE

 

4-60

 

 

 

 

 

 

 

 

logging on

This command controls logging of error messages, sending debug or error messages to switch memory. 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. You can use the logging history command to control the type of error messages that are stored.

Example

Console(config)#logging on

Console(config)#

Related Commands

logging history (4-56) clear logging (4-58)

4-55

Page 351
Image 351
Accton Technology ES3528M-SFP Logging on, Event Logging Commands Function Mode, Syntax No logging on Default Setting