Configuring the Configuration Change Notification and Logging Feature
Command or Action
| <>>
Purpose
| <>>|
Step 1
| <>>
enable
Example:
Router> enable
| <>>
Enables privileged EXEC mode.
•
| <>>
Step 2
| <>>
configureterminal
Example:
Router# configure terminal
| <>>
Enters global configuration mode.
| <>>
Step 3
| <>>
archive
Example:
Router(config)# archive
| <>>
Enters archive configuration mode.
| <>>
Step 4
| <>>
log config
Example:
Router(config-archive)# log config
| <>>
Enters configuration change logger configuration mode.
| <>>
Step 5
| <>>
logging enable
Example:
Router(config-archive-log-config)# logging enable
| <>>
Enables the logging of configuration changes.
•
| <>>
Step 6
| <>>
logging sizeentries
Example:
Router(config-archive-log-config)# logging size 200
| <>>
(Optional) Specifies the maximum number of entries retained in the configuration log.
•
•
Note
| <>>
Step 7
| <>>
hidekeys
Example:
Router(config-archive-log-config)# hidekeys
| <>>
(Optional) Suppresses the display of password information in configuration log files.
Note
| <>>
Step 8
| <>>
notify syslog
Example:
Router(config-archive-log-config)# notify syslog
| <>>
(Optional) Enables the sending of notifications of configuration changes to a remote syslog.
| <>>
Step 9
| <>>
end
Example:
Router(config-archive-log-config)# end
| <>>
Exits to privileged EXEC mode.
| <>>
Displaying Configuration Log Entries and Statistics
Perform this task to display entries from the configuration log or statistics about the memory usage of the configuration log.
To display configuration log entries and to monitor the memory usage of the configuration log, the Configuration Change Notification and Logging feature provides the show archive log config command.