Specifications

13-13
System Management Software Configuration Guide for Cisco IE 2000U and Connected Grid Switches
Chapter 13 Configuring System Message Logging
Configuring System Message Logging
Enabling the Configuration-Change Logger
You can enable a configuration logger to keep track of configuration changes made with the
command-line interface (CLI). When you enter the logging enable configuration-change logger
configuration command, the log records the session, the user, and the command that was entered to
change the configuration. You can configure the size of the configuration log from 1 to 1000 entries (the
default is 100). You can clear the log at any time by entering the no logging enable command followed
by the logging enable command to disable and reenable logging.
Use the show archive log config {all | number [end-number] | user username [session number] number
[end-number] | statistics} [provisioning] privileged EXEC command to display the complete
configuration log or the log for specified parameters.
The default is that configuration logging is disabled.
BEFORE YOU BEGIN
If you disable configuration logging, all configuration log records that were collected are purged.
DETAILED STEPS
EXAMPLE
This example shows how to enable the configuration-change logger and to set the number of entries in
the log to 500:
Switch(config)# archive
Switch(config-archive)# log config
Switch(config-archive-log-cfg)# logging enable
Switch(config-archive-log-cfg)# logging size 500
Switch(config-archive-log-cfg)# end
This is an example of output for the configuration log:
Switch# show archive log config all
idx sess user@line Logged command
38 11 unknown user@vty3 |no aaa authorization config-commands
39 12 unknown user@vty3 |no aaa authorization network default group radius
Command Purpose
Step 1
configure terminal Enter global configuration mode.
Step 2
archive Enter archive configuration mode.
Step 3
log config Enter configuration-change logger configuration mode.
Step 4
logging enable Enable configuration change logging.
Step 5
logging size entries (Optional) Configure the number of entries retained in the
configuration log. The range is from 1 to 1000. The default is
100.
Note When the configuration log is full, the oldest log entry is
removed each time a new entry is entered.
Step 6
end Return to privileged EXEC mode.
Step 7
show archive log config Verify your entries by viewing the configuration log.