{"id":594,"date":"2015-07-06T09:03:19","date_gmt":"2015-07-06T09:03:19","guid":{"rendered":"http:\/\/www.davidpapkin.net\/?p=594"},"modified":"2015-07-06T09:03:19","modified_gmt":"2015-07-06T09:03:19","slug":"configuring-cisco-ios-to-automatically-save-the-running-configuration-to-a-tftp-server-on-save","status":"publish","type":"post","link":"https:\/\/davidpapkin.com\/?p=594","title":{"rendered":"Configuring Cisco IOS to automatically save the running configuration to a tftp server on save"},"content":{"rendered":"<p>Cisco IOS has the ability to auto-save it\u2019s configuration when you run the <em>write memory<\/em> command.<\/p>\n<p><strong>Connect to the router using Putty or some terminal program<\/strong><br \/>\n<code>enable<br \/>\nconfigure terminal<br \/>\narchive<br \/>\npath tftp:\/\/192.168.0.2\/sw2960\/sw2960.cfg<br \/>\nwrite-memory<br \/>\nexit<br \/>\nexit<\/code><\/p>\n<p>In this example, we\u2019ve configured the switch to save to the configuration file to the sw2960\u00a0sub-directory\u00a0of a ttp server.<\/p>\n<p><strong>To test the setup, run the \u201cwrite memory\u201d command.<\/strong><br \/>\n<code>enable<br \/>\nwrite memory<\/code><\/p>\n<p><strong>Looking on the tftp server, we see a configuration file was uploaded:<\/strong><\/p>\n<p><code>cd \/tftpboot<br \/>\nfind .<br \/>\n.\/sw2960\/sw2960.cfgDec-17-02-43-26.106-0<\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Cisco IOS has the ability to auto-save it\u2019s configuration when you run the write memory command. Connect to the router using Putty or some terminal program enable configure terminal archive path tftp:\/\/192.168.0.2\/sw2960\/sw2960.cfg write-memory exit exit In this example, we\u2019ve configured&hellip; <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,4],"tags":[66,67,70],"class_list":["post-594","post","type-post","status-publish","format-standard","hentry","category-computers","category-david-papkin","tag-david-mark-papkin","tag-david-papkin","tag-davidpapkin"],"_links":{"self":[{"href":"https:\/\/davidpapkin.com\/index.php?rest_route=\/wp\/v2\/posts\/594","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/davidpapkin.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/davidpapkin.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/davidpapkin.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/davidpapkin.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=594"}],"version-history":[{"count":0,"href":"https:\/\/davidpapkin.com\/index.php?rest_route=\/wp\/v2\/posts\/594\/revisions"}],"wp:attachment":[{"href":"https:\/\/davidpapkin.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=594"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/davidpapkin.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=594"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/davidpapkin.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=594"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}