Event Logging Commands
Command
logging on
logging history
logging host
logging facility
logging trap
clear logging
show logging
show log
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.
Table 4-17 Event Logging Commands
Function
Controls logging of error messages
Limits syslog messages saved to switch memory
based on severity
Adds a syslog server host IP address that will
receive logging messages
Sets the facility type for remote logging of syslog
messages
Limits syslog messages saved to a remote server
based on severity
Clears messages from the logging buffer
Displays the state of logging
Displays log messages
S
M
YSTEM
ANAGEMENT
C
OMMANDS
Mode Page
GC
4-59
GC
4-60
GC
4-61
GC
4-62
GC
4-63
PE
4-64
PE
4-64
PE
4-67
4-59