Friday, March 30, 2012

Configuration Change Notification and Logging

http://www.cisco.com/en/US/docs/ios/12_3t/12_3t4/feature/guide/gtconlog.html

Configuring the Configuration Change Notification and Logging Feature
Perform this task to enable the Configuration Change Notification and Logging feature.
SUMMARY STEPS
1. enable
2. configure terminal
3. archive
4. log config
5. logging enable
6. logging size entries
7. hidekeys
8. notify syslog
9. end
DETAILED STEPS


<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>

Command or Action
Purpose
Step 1 
enable
Example:
Router> enable
Enables privileged EXEC mode.
Enter your password if prompted.
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.
Logging of configuration changes is disabled by default.
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.
Valid values for the entries argument range from 1 to 1000. The default value is 100 entries.
When the configuration log is full, the oldest entry is deleted every time a new entry is added.
Note If a new log size is specified that is smaller than the current log size, the oldest log entries is immediately purged until the new log size is satisfied, regardless of the age of the log entries.
Step 7 
hidekeys
Example:
Router(config-archive-log-config)# hidekeys
(Optional) Suppresses the display of password information in configuration log files.
Note Enabling the hidekeys command increases security by preventing password information from being displayed in configuration log files.
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.
SUMMARY STEPS
1. enable
2. show archive log config number [end-number]
3. show archive log config all provisioning
4. show archive log config statistics
5. exit

Related Posts Plugin for WordPress, Blogger...