COMMAND LINE INTERFACE

Event Logging Commands

Table 4-17 Event Logging Commands

Command

Function

Mode

Page

logging on

Controls logging of error messages

GC

4-58

 

 

 

 

logging history

Limits syslog messages saved to switch memory

GC

4-59

 

based on severity

 

 

 

 

 

 

logging host

Adds a syslog server host IP address that will

GC

4-60

 

receive logging messages

 

 

 

 

 

 

logging facility

Sets the facility type for remote logging of syslog

GC

4-61

 

messages

 

 

 

 

 

 

logging trap

Limits syslog messages saved to a remote server

GC

4-62

 

based on severity

 

 

 

 

 

 

clear logging

Clears messages from the logging buffer

PE

4-63

 

 

 

 

show logging

Displays the state of logging

PE

4-63

 

 

 

 

show log

Displays log messages

PE

4-65

 

 

 

 

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.

4-58

Page 306
Image 306
SMC Networks SMC6224M manual Event Logging Commands, Logging on, Syntax No logging on Default Setting