CLI Commands
The following table summarizes the equivalent CLI commands for items in the Switch/General/System Logs page.
Command
logging on
logging history {flash | ram} level Limits syslog messages saved to switch memory based on severity.
show logging {flash | ram | trap}
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
Usage
Controls the logging of debug or error messages to a logging process.
The no form disables the logging process.
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).
Displays the logging configuration for system and event messages.