CLI Reference Guide-R07

Table Of Contents
Chapter 4
| System Management Commands
Event Logging
– 135 –
Login Timeout : 300 sec.
Silent Time : Disabled
Console#
Event Logging
This section describes commands used to configure event logging on the switch.
To configure sending event logs as alerts using an SMTP mail server refer to “SMTP
Alerts” on page 142.
logging command This command stores CLI command execution records in syslog RAM and flash. Use
the no form to disable this feature.
Syntax
[no] logging command
Default Setting
Disabled
Command Mode
Global Configuration
Command Usage
The records stored include the commands executed from the CLI, command
execution time and information about the CLI user including user name, user
Table 21: Event Logging Commands
Command Function Mode
logging command Stores CLI command execution records in syslog RAM and
flash
GC
logging facility Sets the facility type for remote logging of syslog messages GC
logging history Limits syslog messages saved to switch memory based on
severity
GC
logging host Adds a syslog server host IP address that will receive
logging messages
GC
logging on Controls logging of error messages GC
logging sendmail See “SMTP Alerts” on page 142 GC
logging trap Limits syslog messages saved to a remote server based on
severity
GC
clear log Clears messages from the logging buffer PE
show log Displays log messages PE
show logging Displays the state of logging PE