24-Port Layer 3 Switch Management Guide

S
YSTEM
M
ANAGEMENT
C
OMMANDS
4-37
Event Logging Commands
logging on
Use this command to control logging of error messages. This command
sends debug or error messages to switch memory. The no form disables
the logging process.
Syntax
logging on
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
Related Commands
logging history (4-38)
clear logging (4-39)
Command Function Mode Page
logging on Controls logging of error messages GC 4-37
logging history Limits syslog messages saved to switch memory
based on severity
GC 4-38
clear logging Clears messages from the logging buffer PE 4-39
show logging Displays the state of logging PE 4-40
Console(config)#logging on
Console(config)#