Specifications

CLI Commands
The following table summarizes the equivalent CLI commands for items in the Switch/General/System Logs page.
Example
Console(config)#logging on
Console(config)#logging history ram 0
Console(config)#
Console#show logging flash
Syslog logging: Disable
History logging in FLASH: level errors
Console#
Logs
Command
Usage
logging on
Controls the logging of debug or error messages to a logging process.
The no form disables the logging process.
logging history {flash | ram} level
Limits syslog messages saved to switch memory based on severity.
The no form returns the logging of syslog messages to the default level.
flash Event history stored in flash memory (permanent memory).
ram Event history stored in temporary RAM (memory flushed on power reset).
show logging {flash | ram | trap}
Displays the logging configuration for system and event messages.