{"id":95,"date":"2015-11-03T17:02:36","date_gmt":"2015-11-03T16:02:36","guid":{"rendered":"http:\/\/www.perrini.ch\/?p=95"},"modified":"2020-11-03T17:09:00","modified_gmt":"2020-11-03T16:09:00","slug":"how-to-upgrade-cisco-ios","status":"publish","type":"post","link":"https:\/\/www.perrini.ch\/?p=95","title":{"rendered":"How to upgrade Cisco IOS"},"content":{"rendered":"\n<div class=\"twitter-share\"><a href=\"https:\/\/twitter.com\/intent\/tweet?via=thiagoperrini\" class=\"twitter-share-button\">Tweet<\/a><\/div>\n<p>1. Copy the new IOS-Image in the flash memory<\/p>\n<pre class=\"theme:dark-terminal font:courier-new toolbar:2 lang:default decode:true \">Switch#copy usbflash0:c2960x-universalk9-mz.150-2.EX4.bin flash:\n\nDestination filename [c2960x-universalk9-mz.150-2.EX4.bin]?\nCopy in progress...CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC\nCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC\n\n18228096 bytes copied in 278.698 secs (65404 bytes\/sec)<\/pre>\n<p>2. Erase the old IOS-Image and the old configuration from the flash memory<\/p>\n<pre class=\"theme:dark-terminal font:courier-new toolbar:2 lang:default decode:true \">Switch#delete \/recursive \/force flash:\/c2960x-universalk9-mz.150-2.EX3\nSwitch#delete flash:\/vlan.dat\nDelete flash:\/vlan.dat? [confirm]\n\nSwitch#<\/pre>\n<p>4. Erase the running and startup config<\/p>\n<pre class=\"theme:dark-terminal font:courier-new toolbar:2 toolbar-overlay:false toolbar-hide:false toolbar-delay:false show-title:false plain-toggle:false popup:false lang:default decode:true\">Switch#write erase\nErasing the nvram filesystem will remove all configuration files! Continue? [confirm]\n[OK]\nErase of nvram: complete<\/pre>\n<p>3. Set the new default IOS-Image to boot system variable<\/p>\n<p>I know that boot system take the IOS were are avaliable in the flash memory for booting the system by default. To be sure that the correct IOS-Image version is booting, I like to check and set this configuration with the boot system command.<\/p>\n<pre class=\"theme:dark-terminal font:courier-new toolbar:2 lang:default decode:true\" title=\"To check\">Switch#show boot\nBOOT path-list : flash:\/c2960x-universalk9-mz.150-2.EX3\/c2960x-universalk9-mz.150-2.EX3.bin\nConfig file : flash:\/config.text\nPrivate Config file : flash:\/private-config.text\nEnable Break : yes\nManual Boot : no\nHELPER path-list :\nAuto upgrade : yes\nAuto upgrade path :\nNVRAM\/Config file\nbuffer size: 524288\nTimeout for Config\nDownload: 0 seconds\nConfig Download\nvia DHCP: disabled (next boot: disabled)<\/pre>\n<pre class=\"theme:dark-terminal font:courier-new toolbar:2 lang:default decode:true \" title=\"set boot system and check\">Switch(config)#boot system flash:c2960x-universalk9-mz.150-2.EX4.bin\nSwitch#\nSwitch#show boot \nBOOT path-list : flash:c2960x-universalk9-mz.150-2.EX4.bin\nConfig file : flash:\/config.text\nPrivate Config file : flash:\/private-config.text\nEnable Break : yes\nManual Boot : no\nHELPER path-list :\nAuto upgrade : yes\nAuto upgrade path :\nNVRAM\/Config file\nbuffer size: 524288\nTimeout for Config\nDownload: 0 seconds\nConfig Download\nvia DHCP: disabled (next boot: disabled)<\/pre>\n<p>4. Save the\u00a0new config<\/p>\n<pre class=\"theme:dark-terminal font:courier-new toolbar:2 lang:default decode:true \">Switch#copy running-config startup-config\nDestination filename [startup-config]?\nBuilding configuration...\n[OK]\nSwitch#<\/pre>\n<p>5. Reboot<\/p>\n<pre class=\"theme:dark-terminal font:courier-new toolbar:2 lang:default decode:true \">Switch#reload<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>1. Copy the new IOS-Image in the flash memory Switch#copy<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_mi_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_uf_show_specific_survey":0,"_uf_disable_surveys":false,"footnotes":""},"categories":[7],"tags":[],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.perrini.ch\/index.php?rest_route=\/wp\/v2\/posts\/95"}],"collection":[{"href":"https:\/\/www.perrini.ch\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.perrini.ch\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.perrini.ch\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.perrini.ch\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=95"}],"version-history":[{"count":7,"href":"https:\/\/www.perrini.ch\/index.php?rest_route=\/wp\/v2\/posts\/95\/revisions"}],"predecessor-version":[{"id":395,"href":"https:\/\/www.perrini.ch\/index.php?rest_route=\/wp\/v2\/posts\/95\/revisions\/395"}],"wp:attachment":[{"href":"https:\/\/www.perrini.ch\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=95"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.perrini.ch\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=95"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.perrini.ch\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=95"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}