{"id":472,"date":"2015-01-17T19:11:01","date_gmt":"2015-01-17T19:11:01","guid":{"rendered":"http:\/\/eltonoverip.com\/blog\/?p=472"},"modified":"2015-07-14T20:49:05","modified_gmt":"2015-07-14T20:49:05","slug":"cisco-ios-configuration-change-logging","status":"publish","type":"post","link":"https:\/\/eltonoverip.com\/blog\/2015\/01\/cisco-ios-configuration-change-logging\/","title":{"rendered":"Cisco IOS Configuration Change Logging"},"content":{"rendered":"<p>Someone or something caused your router to reboot.  You want to log configuration changes to rule that out without using TACACS.  Here&#8217;s what it looks like.<\/p>\n<pre>\r\n<code>\r\nrouter(config)# archive\r\nrouter(config-archive)# log config\r\nrouter(config-archive-log-cfg)# logging enable\r\nrouter(config-archive-log-cfg)# logging size 1000\r\nrouter(config-archive-log-cfg)# notify syslog\r\nrouter(config-archive-log-cfg)#\r\n<\/code>\r\n<\/pre>\n<p><\/p>\n<p>To display configuration log entries by record numbers starting with the first recorded command<br \/>\n<code>show archive log config 1<\/code><\/p>\n<p>To display all configuration log files as they would appear in a configuration file rather than in a tabular format<br \/>\n<code>show archive log config all provisioning<\/code><\/p>\n<p>To view statistics<br \/>\n<code>show archive log config statistics<\/code><br \/>\n<\/p>\n<pre>\r\n<code>\r\nrouter# show archive log config statistics\r\nConfig Log Session Info:\r\n        Number of sessions being tracked: 1\r\n        Memory being held: 3909 bytes\r\n        Total memory allocated for session tracking: 187657 bytes\r\n        Total memory freed from session tracking: 183748 bytes\r\n\r\nConfig Log log-queue Info:\r\n        Number of entries in the log-queue: 63\r\n        Memory being held by the log-queue: 16356 bytes\r\n        Total memory allocated for log entries: 16356 bytes\r\n        Total memory freed from log entries: 0 bytes\r\n<\/code>\r\n<\/pre>\n<p><\/p>\n<p>For more information: <a href=\"http:\/\/www.cisco.com\/c\/en\/us\/td\/docs\/ios\/fundamentals\/configuration\/guide\/15_1s\/cf_15_1s_book\/cf_config-logger.html\" title=\"Cisco Configuration Change Notification and Logging\" target=\"_blank\">http:\/\/www.cisco.com\/c\/en\/us\/td\/docs\/ios\/fundamentals\/configuration\/guide\/15_1s\/cf_15_1s_book\/cf_config-logger.html<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Someone or something caused your router to reboot. You want to log configuration changes to rule that out without using TACACS. Here&#8217;s what it looks like. router(config)# archive router(config-archive)# log config router(config-archive-log-cfg)# logging enable router(config-archive-log-cfg)# logging size 1000 router(config-archive-log-cfg)# notify syslog router(config-archive-log-cfg)# To display configuration log entries by record numbers starting with the first recorded [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,12],"tags":[],"class_list":["post-472","post","type-post","status-publish","format-standard","hentry","category-cisco","category-ios"],"_links":{"self":[{"href":"https:\/\/eltonoverip.com\/blog\/wp-json\/wp\/v2\/posts\/472","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/eltonoverip.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/eltonoverip.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/eltonoverip.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/eltonoverip.com\/blog\/wp-json\/wp\/v2\/comments?post=472"}],"version-history":[{"count":11,"href":"https:\/\/eltonoverip.com\/blog\/wp-json\/wp\/v2\/posts\/472\/revisions"}],"predecessor-version":[{"id":731,"href":"https:\/\/eltonoverip.com\/blog\/wp-json\/wp\/v2\/posts\/472\/revisions\/731"}],"wp:attachment":[{"href":"https:\/\/eltonoverip.com\/blog\/wp-json\/wp\/v2\/media?parent=472"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/eltonoverip.com\/blog\/wp-json\/wp\/v2\/categories?post=472"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/eltonoverip.com\/blog\/wp-json\/wp\/v2\/tags?post=472"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}