Chapter 4
| System Management Commands
Event Logging
– 125 –
Login Timeout : 300 sec.
Silent Time : Disabled
Console#
Event Logging
This section describes commands used to configure event logging on the switch.
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
interface (console, Telnet, SSH) and user IP address. The severity level for this record
type is 6 (see the logging facility command).
Table 19: 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 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