System information

3-26
Command Line Interface
3
Command Mode
Global Configuration
Example
Related Commands
ip http port (3-25)
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
[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)#ip http server
Console(config)#
Table 3-14. Event Logging Commands
Command Function Mode Page
logging on Controls logging of error messages GC 3-26
logging history Limits syslog messages saved to switch memory based on
severity
GC 3-27
clear logging Clears messages from the logging buffer GC 3-28
show logging Displays the state of logging configuration GC 3-28
Console(config)#logging on
Console(config)#