Event Logging Commands
Command
logging on
logging history
logging host
logging facility
logging trap
clear logging
show log
show logging
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.
Example
Console(config)#logging on
Console(config)#
Related Commands
logging history (4-44)
clear logging (4-46)
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 log messages
Displays the state of logging configuration
System Management Commands
4
Mode
Page
GC
4-43
GC
4-44
GC
4-45
GC
4-45
GC
4-46
PE
4-46
PE
4-47
PE
4-48
4-43
Need help?
Do you have a question about the 100BASE-TX and is the answer not in the manual?