E
VENT

L

OGGING

C

OMMANDS

20-39

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

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
Table 20-12 Event Logging Commands
Command Function Mode Page
logging on Controls logging of error messages GC 20-39
logging history Limits syslog messages saved to switch
memory based on severity
GC 20-40
logging host Adds a syslog server host IP address that will
receive logging messages
GC 20-41
logging facility Sets the facility type for remote logging of
syslog messages
GC 20-42
logging trap Limits syslog messages saved to a remote
server based on severity
GC 20-43
clear log Clears messages from the logging buffer PE 20-44
show logging Displays the state of logging PE 20-45
show log Displays log messages PE 20-47