{"id":113,"date":"2014-09-03T17:25:46","date_gmt":"2014-09-03T15:25:46","guid":{"rendered":"http:\/\/www.perrini.ch\/?p=113"},"modified":"2020-11-03T17:26:40","modified_gmt":"2020-11-03T16:26:40","slug":"how-to-upgrade-cisco-ios-over-usbflash-with-tar-file","status":"publish","type":"post","link":"https:\/\/www.perrini.ch\/?p=113","title":{"rendered":"How to upgrade cisco IOS over USBflash with TAR-File"},"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>How to upgrade Cisco IOS-Image over USBflash with a TAR-File.<\/p>\n<p>Download the TAR-File from the Cisco Software Download Portal (https:\/\/software.cisco.com\/download\/) and copy the new IOS-Image in the USB Flash Drive. &nbsp;The TAR File contains the .bin IOS Image and an additional set of html &amp; other files. In our case we took the IOS-Version as a TAR-File because the Client needs the Web-Management via web browser.<\/p>\n<p>1. Copy the new IOS-Image from usbdrive in to the flash memory<\/p>\n<p>Switch#archive tar \/xtract usbflash0:\/c2960s-universalk9-tar.150-2.SE6.tar flash:<\/p>\n<p>2. Now its start extracting the TAR-file into the Switch flash memory<\/p>\n<p>c2960s-universalk9-mz.150-2.SE6\/ (directory)<br \/>\nextracting c2960s-universalk9-mz.150-2.SE6\/info (635 bytes)<br \/>\nc2960s-universalk9-mz.150-2.SE6\/html\/ (directory)<br \/>\nc2960s-universalk9-mz.150-2.SE6\/html\/zh\/ (directory)<br \/>\nextracting c2960s-universalk9-mz.150-2.SE6\/html\/zh\/re_xsetup.js (12993 bytes)<br \/>\nextracting c2960s-universalk9-mz.150-2.SE6\/html\/zh\/re_smartports.js (3803 bytes)<br \/>\nextracting c2960s-universalk9-mz.150-2.SE6\/html\/zh\/re_dashboard.js (2591 bytes)<br \/>\nextracting c2960s-universalk9-mz.150-2.SE6\/html\/zh\/charset.js (331 bytes)<br \/>\nextracting c2960s-universalk9-mz.150-2.SE6\/html\/zh\/troubleshooting_JavaScript.htm (8011 bytes)<br \/>\nextracting c2960s-universalk9-mz.150-2.SE6\/html\/zh\/re_portstatistics.js (1434 bytes)<br \/>\nextracting c2960s-universalk9-mz.150-2.SE6\/html\/zh\/re_portruntime.js (696 bytes)<br \/>\nextracting c2960s-universalk9-mz.150-2.SE6\/html\/zh\/xhome_new.htm (5360 bytes)<br \/>\nextracting c2960s-universalk9-mz.150-2.SE6\/html\/zh\/troubleshooting_OS.htm (3090 bytes)<br \/>\nextracting c2960s-universalk9-mz.150-2.SE6\/html\/zh\/re_fpv_title.js (3333 bytes)<br \/>\nextracting c2960s-universalk9-mz.150-2.SE6\/html\/zh\/re_health.js (1627 bytes)<br \/>\nextracting c2960s-universalk9-mz.150-2.SE6\/html\/zh\/troubleshooting_Browser.htm (3783 bytes)<br \/>\nextracting c2960s-universalk9-mz.150-2.SE6\/html\/zh\/re_preflight.js (3058 bytes)<br \/>\nextracting c2960s-universalk9-mz.150-2.SE6\/html\/zh\/re_menu.js (1171 bytes)<br \/>\nextracting c2960s-universalk9-mz.150-2.SE6\/c2960s-universalk9-mz.150-2.SE6.bin (14562176 bytes)<br \/>\n&#8230;.<br \/>\nextracting c2960s-universalk9-mz.150-2.SE6\/dc_default_profiles.txt (66292 bytes)<br \/>\nextracting info (110 bytes)<br \/>\nSwitch#<\/p>\n<p>2. Check if everything is copied into Flash Memory. Erase the old IOS and the vlan.dat if its present from the Switch flash memory<\/p>\n<p>Switch#delete \/recursive \/force flash:\/c2960s-universalk9-mz.122-55.SE7<br \/>\nSwitch#delete flash:\/vlan.dat<\/p>\n<p>Delete flash:\/vlan.dat? [confirm]<\/p>\n<p>Switch#<\/p>\n<p>3. Erase the running and startup config<\/p>\n<p>Switch#write erase<br \/>\nErasing the nvram filesystem will remove all configuration files! Continue? [confirm]<br \/>\n[OK]<br \/>\nErase o&#8230;.<br \/>\nnvram: complete<br \/>\nSwitch#<\/p>\n<p>4. Set the new default IOS to boot system<\/p>\n<p>I know that boot system take the ios were are avaliable to boot the system.<br \/>\nbut to be sure that the correct ios version is booting set this command.<\/p>\n<p>Switch#show boot<br \/>\nBOOT path-list : flash:\/c2960s-universalk9-mz.122-55.SE7\/c2960s-universalk9-mz.122-55.SE7.bin<br \/>\nConfig file : flash:\/config.text<br \/>\nPrivate Config file : flash:\/private-config.text<br \/>\nEnable Break : no<br \/>\nManual Boot : no<br \/>\nHELPER path-list :<br \/>\nAuto upgrade : yes<br \/>\nAuto upgrade path :<br \/>\nNVRAM\/Config file<br \/>\nbuffer size: 524288<br \/>\nTimeout for Config<br \/>\nDownload: 0 seconds<br \/>\nConfig Download<br \/>\nvia DHCP: disabled (next boot: disabled)<\/p>\n<p>Switch(config)#boot system flash:\/c2960s-universalk9-mz.150-2.SE6\/c2960s-universalk9-mz.150-2.SE6.bin<\/p>\n<p>5. Dobble Check<\/p>\n<p>Switch#show boot:<br \/>\nBOOT path-list : flash:\/c2960s-universalk9-mz.150-2.SE6\/c2960s-universalk9-mz.150-2.SE6.bin<br \/>\nConfig file : flash:\/config.text<br \/>\nPrivate Config file : flash:\/private-config.text<br \/>\nEnable Break : no<br \/>\nManual Boot : no<br \/>\nHELPER path-list :<br \/>\nAuto upgrade : yes<br \/>\nAuto upgrade path :<br \/>\nNVRAM\/Config file<br \/>\nbuffer size: 524288<br \/>\nTimeout for Config<br \/>\nDownload: 0 seconds<br \/>\nConfig Download<br \/>\nvia DHCP: disabled (next boot: disabled)<br \/>\nSwitch#<\/p>\n<p>6. Put the new config and save<\/p>\n<p>Switch(config)#end<br \/>\nSwitch#write<br \/>\nBuilding configuration&#8230;<br \/>\n[OK]<br \/>\nSwitch#<\/p>\n<p>or&#8230;<\/p>\n<p>Switch(config)#end<br \/>\nSwitch#copy running-config startup-config<br \/>\nDestination filename [startup-config]?<br \/>\nBuilding configuration&#8230;<br \/>\n[OK]<br \/>\nSwitch#<\/p>\n<p>7. Reboot Switch for finisch the IOS-Image installation<br \/>\nSwitch#reload<\/p>\n<p>8. After reboot check if the new IOS-Image is installed.<\/p>\n<p>Switch#show version<br \/>\nCisco IOS Software, C2960S Software (C2960S-UNIVERSALK9-M), Version 15.0(2)SE6, RELEASE SOFTWARE (fc2)<br \/>\nTechnical Support: http:\/\/www.cisco.com\/techsupport<br \/>\nCopyright (c) 1986-2014 by Cisco Systems, Inc.<br \/>\nCompiled Wed 09-Apr-14 03:09 by prod_rel_team<\/p>\n<p>ROM: Bootstrap program is C2960S board boot loader<br \/>\nBOOTLDR: C2960S Boot Loader (C2960S-HBOOT-M) Version 12.2(55r)SE, RELEASE SOFTWARE (fc1)<\/p>\n<p>Switch uptime is 3 minutes<br \/>\nSystem returned to ROM by power-on<br \/>\nSystem restarted at 01:27:16 UTC Wed Mar 30 2011<br \/>\nSystem image file is &#8220;flash:\/c2960s-universalk9-mz.150-2.SE6\/c2960s-universalk9-mz.150-2.SE6.bin&#8221;<br \/>\nThis product contains cryptographic features and is subject to United<br \/>\nStates and local country laws governing import, export, transfer and<br \/>\nuse. Delivery of Cisco cryptographic products does not imply<br \/>\nthird-party authority to import, export, distribute or use encryption.<br \/>\nImporters, exporters, distributors and users are responsible for<br \/>\ncompliance with U.S. and local country laws. By using this product you<br \/>\nagree to comply with applicable laws and regulations. If you are unable<br \/>\nto comply with U.S. and local laws, return this product immediately.<\/p>\n<p>A summary of U.S. laws governing Cisco cryptographic products may be found at:<br \/>\nhttp:\/\/www.cisco.com\/wwl\/export\/crypto\/tool\/stqrg.html<\/p>\n<p>If you require further assistance please contact us by sending email to<br \/>\nexport@cisco.com.<\/p>\n<p>cisco WS-C2960S-48TS-L (PowerPC) processor (revision J0) with 131072K bytes of memory.<br \/>\nProcessor board ID FOC1505X2WB<br \/>\nLast reset from power-on<br \/>\n1 Virtual Ethernet interface<br \/>\n1 FastEthernet interface<br \/>\n52 Gigabit Ethernet interfaces<br \/>\nThe password-recovery mechanism is enabled.<\/p>\n<p>512K bytes of flash-simulated non-volatile configuration memory.<br \/>\nBase ethernet MAC Address : 58:0A:20:CD:17:80<br \/>\nMotherboard assembly number : 73-12423-09<br \/>\nPower supply part number : 341-0328-03<br \/>\nMotherboard serial number : FOC17480TM7<br \/>\nPower supply serial number : DCA1728M0WH<br \/>\nModel revision number : J0<br \/>\nMotherboard revision number : A0<br \/>\nModel number : WS-C2960S-48TS-L<br \/>\nDaughterboard assembly number : 73-11933-04<br \/>\nDaughterboard serial number : FOC17354FRL<br \/>\nSystem serial number : FOC1505X2WB<br \/>\nTop Assembly Part Number : 800-32448-04<br \/>\nTop Assembly Revision Number : B0<br \/>\nVersion ID : V08<br \/>\nCLEI Code Number : COMGJ00ARD<br \/>\nDaughterboard revision number : A0<br \/>\nHardware Board Revision Number : 0x01<br \/>\n3956720K bytes of USB Flash usbflash0 (Read\/Write)<br \/>\nSwitch Ports Model SW Version SW Image<br \/>\n&#8212;&#8212; &#8212;&#8211; &#8212;&#8211; &#8212;&#8212;&#8212;- &#8212;&#8212;&#8212;-<br \/>\n* 1 52 WS-C2960S-48TS-L 15.0(2)SE6 C2960S-UNIVERSALK9-M<br \/>\nConfiguration register is 0xF<\/p>\n<p>Switch#<\/p>\n","protected":false},"excerpt":{"rendered":"<p>How to upgrade Cisco IOS-Image over USBflash with a TAR-File.<\/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,49],"tags":[],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.perrini.ch\/index.php?rest_route=\/wp\/v2\/posts\/113"}],"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=113"}],"version-history":[{"count":3,"href":"https:\/\/www.perrini.ch\/index.php?rest_route=\/wp\/v2\/posts\/113\/revisions"}],"predecessor-version":[{"id":397,"href":"https:\/\/www.perrini.ch\/index.php?rest_route=\/wp\/v2\/posts\/113\/revisions\/397"}],"wp:attachment":[{"href":"https:\/\/www.perrini.ch\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=113"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.perrini.ch\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=113"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.perrini.ch\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=113"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}