{"id":152,"date":"2012-03-29T13:15:38","date_gmt":"2012-03-29T11:15:38","guid":{"rendered":"https:\/\/blog.4-it.net\/?p=152"},"modified":"2012-03-29T13:15:38","modified_gmt":"2012-03-29T11:15:38","slug":"how-do-i-upgrade-an-ios-tar-file-on-a-2950-catalyst-switch","status":"publish","type":"post","link":"https:\/\/blog.4-it.net\/?p=152","title":{"rendered":"How do I upgrade an IOS tar file on a 2950 Catalyst switch?"},"content":{"rendered":"<p>The following tip is similar to the one on the Router IOS image transfer. It is highly recommended that you are familiar with Router IOS image transfer procedure (including the troubleshooting) before attempting Switch IOS image transfer, especially when it comes to troubleshooting.<\/p>\n<p>As a warning, you won&#8217;t enjoy recovering a switch that has no valid IOS image on its flash memory. The procedure to recover is more complicated and somewhat complex than router IOS image recovery. Therefore whatever you do, don&#8217;t mess up! \ud83d\ude42<\/p>\n<p><strong>1)<\/strong> In order to transfer the tar file you need a TFTP program. One example is located at \u00bb<a href=\"http:\/\/www.dslreports.com\/faq\/cisco\">Cisco Forum FAQ<\/a> \u00bb<a href=\"http:\/\/www.dslreports.com\/faq\/9816\">How to prepare TFTP server<\/a><\/p>\n<p>When you are done downloading the tar file confirm the md5.<\/p>\n<p><strong>2)<\/strong> Issue dir flash: to verify you have enough space.<\/p>\n<p>SW1#<strong>dir flash:<\/strong><\/p>\n<p>Directory of flash:\/<\/p>\n<p>2 -rwx 3081999 Apr 14 1993 22:52:00 +00:00 c2950-i6q4l2-mz.121-22.EA1<br \/>\n.bin<br \/>\n3 -rwx 1390 Apr 14 1993 22:52:40 +00:00 config.text<br \/>\n4 -rwx 5 Apr 14 1993 22:52:40 +00:00 private-config.text<\/p>\n<p>7741440 bytes total (4656128 bytes free)<br \/>\nSW1#<\/p>\n<p><strong>3)<\/strong> You will probably want to delete your old ios image especially if you don&#8217;t have much space left.<\/p>\n<p>SW1#<strong>delete flash:c2950-i6q4l2-mz.121-22.EA1.bin<\/strong><br \/>\nDelete filename [c2950-i6q4l2-mz.121-22.EA1.bin]?<br \/>\nDelete flash:c2950-i6q4l2-mz.121-22.EA1.bin? [confirm]<br \/>\nSW1#<\/p>\n<p><strong>4)<\/strong> You may want to delete any old html files if you have some old ones:<\/p>\n<p><strong>delete flash:html\/*<\/strong><\/p>\n<p><strong>5)<\/strong> Issue the command to start the extraction process:<br \/>\n<strong>archive tar \/xtract tftp:\/\/10.10.10.3\/c2950-i6q4l2-tar.121-22.EA1.tar flash:<\/strong><\/p>\n<p>SW1#<strong>archive tar \/xtract tftp:\/\/10.10.10.3\/c2950-i6q4l2-tar.121-22.EA1.tar flash:<\/strong><br \/>\nLoading c2950-i6q4l2-tar.121-22.EA1.tar from 10.10.10.3 (via Vlan1): !<br \/>\nextracting info (109 bytes)<br \/>\nextracting c2950-i6q4l2-mz.121-22.EA1.bin (3081999 bytes)!!!!!!!!!!!!!!!!!!!!!!!<br \/>\n!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!<br \/>\n!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!<br \/>\n!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!<br \/>\n!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!<br \/>\n!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!<br \/>\n!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!<br \/>\n!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!<br \/>\n!!!!!!!!!!!!!!!!!!!<br \/>\nhtml\/ (directory)<br \/>\nextracting html\/cms_boot.jar (154860 bytes)!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!<br \/>\nextracting html\/cms_splash.gif (22131 bytes)!!!!!<br \/>\nextracting html\/start.html (576 bytes)<br \/>\nextracting html\/cms_13.html (510 bytes)<br \/>\nextracting html\/custom_cms.html (2441 bytes)!<br \/>\nextracting html\/test.htm (2301 bytes)!<br \/>\nextracting html\/not_supported.html (1392 bytes)<br \/>\nextracting html\/cluster.html (2822 bytes)!<br \/>\nextracting html\/err.html (152 bytes)<br \/>\nextracting html\/appsui.js (3092 bytes)!<br \/>\nextracting html\/stylesheet.css (3364 bytes)<br \/>\nextracting html\/forms.js (11521 bytes)!!!<br \/>\nextracting html\/xhome.htm (25035 bytes)!!!!!<br \/>\nextracting html\/back-exp.htm (182 bytes)<br \/>\nextracting html\/express-setup.htm (61957 bytes)!!!!!!!!!!!!<br \/>\nextracting html\/doc.htm (22332 bytes)!!!!!<br \/>\nextracting html\/tools.htm (21818 bytes)!!!!<br \/>\nextracting html\/sitewide.js (10627 bytes)!!<br \/>\nextracting html\/splash_screen.htm (1774 bytes)!<br \/>\nextracting html\/troubleshooting_OS.htm (2851 bytes)!<br \/>\nextracting html\/common.js (24978 bytes)!!!!!<br \/>\nextracting html\/troubleshooting_CMSPlugin.htm (4830 bytes)!<br \/>\nextracting html\/homepage.htm (605 bytes)<br \/>\nextracting html\/ie_report.htm (21165 bytes)!!!!<br \/>\nextracting html\/troubleshooting_JavaScript.htm (8893 bytes)!!<br \/>\nextracting html\/net_report.htm (21107 bytes)!!!!!<br \/>\nextracting html\/cmsplugin.js (1216 bytes)<br \/>\nextracting html\/troubleshooting_Browser.htm (3704 bytes)!<br \/>\nextracting html\/ie_page.htm (2097 bytes)<br \/>\nextracting html\/ip_help.htm (11465 bytes)!!!<br \/>\nextracting html\/es_help.htm (22604 bytes)!!!!<br \/>\nextracting html\/tools_help.htm (13065 bytes)!!!<br \/>\nextracting html\/home_help.htm (16098 bytes)!!!<br \/>\nextracting html\/doc_help.htm (14118 bytes)!!!<br \/>\nhtml\/ximages\/ (directory)<br \/>\nextracting html\/ximages\/question.gif (405 bytes)!<br \/>\nextracting html\/ximages\/confirm.gif (515 bytes)<br \/>\nextracting html\/ximages\/top.gif (141 bytes)<br \/>\nextracting html\/ximages\/downleft.gif (53 bytes)<br \/>\nextracting html\/ximages\/arrow.gif (874 bytes)!<br \/>\nextracting html\/ximages\/botleft.gif (62 bytes)<br \/>\nextracting html\/ximages\/download.gif (1287 bytes)<br \/>\nextracting html\/ximages\/spacer.gif (49 bytes)<br \/>\nextracting html\/ximages\/fatal_error.gif (271 bytes)!<br \/>\nextracting html\/ximages\/logo.gif (974 bytes)<br \/>\nextracting html\/ximages\/pixel.gif (49 bytes)<br \/>\nextracting html\/ximages\/warning.gif (296 bytes)<br \/>\nextracting html\/ximages\/green.gif (879 bytes)!<br \/>\nextracting html\/ximages\/title_help.gif (247 bytes)<br \/>\nextracting html\/ximages\/upleft2.gif (66 bytes)<br \/>\nextracting html\/ximages\/text_start.gif (239 bytes)<br \/>\nextracting html\/ximages\/corner_ur_7.gif (53 bytes)<br \/>\nextracting html\/ximages\/upright.gif (838 bytes)!<br \/>\nextracting html\/ximages\/text_print.gif (177 bytes)<br \/>\nextracting html\/ximages\/ip_fig1.gif (6042 bytes)!<br \/>\nextracting html\/ximages\/dkgreen.gif (869 bytes)!<br \/>\nextracting html\/ximages\/upright_dot.gif (43 bytes)<br \/>\nextracting html\/ximages\/ip_fig3.gif (9178 bytes)!!<br \/>\nextracting html\/ximages\/borderback.gif (146 bytes)<br \/>\nextracting html\/ximages\/upleft1.gif (51 bytes)<br \/>\nextracting html\/ximages\/print_on.gif (111 bytes)<br \/>\nextracting html\/ximages\/button_corner.gif (110 bytes)<br \/>\nextracting html\/ximages\/text_glossary.gif (176 bytes)!<br \/>\nextracting html\/ximages\/yellow.gif (881 bytes)<br \/>\nextracting html\/ximages\/glossary_on.gif (118 bytes)<br \/>\nextracting html\/ximages\/11_upright.gif (61 bytes)<br \/>\nextracting html\/ximages\/left_bkg.gif (146 bytes)!<br \/>\nextracting html\/ximages\/downleft1.gif (54 bytes)<br \/>\nextracting html\/ximages\/bottom.gif (149 bytes)<br \/>\nextracting html\/ximages\/upright2.gif (49 bytes)<br \/>\nextracting html\/ximages\/ip_fig2.gif (5097 bytes)!<br \/>\nextracting html\/ximages\/28_upright.gif (110 bytes)<br \/>\nextracting html\/ximages\/glossary_off.gif (118 bytes)!<br \/>\nextracting html\/ximages\/print_off.gif (111 bytes)<br \/>\nextracting html\/CiscoChartPanel.sgz (57732 bytes)!!!!!!!!!!!<br \/>\nextracting html\/Redirect.jar (1903 bytes)!<br \/>\nextracting html\/CMS.pfj (2019549 bytes)!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!<br \/>\n!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!<br \/>\n!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!<br \/>\n!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!<br \/>\n!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!<br \/>\n!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!<br \/>\nextracting html\/images.sgz (192059 bytes)!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!<br \/>\n!<br \/>\nextracting html\/help.sgz (526933 bytes)!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!<br \/>\n!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!<br \/>\nextracting html\/distinfo.dat (276 bytes)<br \/>\nextracting html\/cms_disc.sgz (46514 bytes)!!!!!!!!!!!<br \/>\nextracting info.ver (109 bytes)!!<br \/>\n[OK &#8211; 6553600 bytes]<\/p>\n<p><strong>6)<\/strong> Verify:<\/p>\n<p>SW1#<strong>verify flash:c2950-i6q4l2-mz.121-22.EA1.bin<\/strong><br \/>\nVerified flash:c2950-i6q4l2-mz.121-22.EA1.bin<br \/>\nSW1#<\/p>\n<p><strong>7)<\/strong> Write to memory and reload the switch.<\/p>\n<p>SW1#<strong>wr mem<\/strong><br \/>\nBuilding configuration&#8230;<br \/>\n[OK]<br \/>\nSW1#<strong>reload<\/strong><br \/>\nProceed with reload? [confirm]<\/p>\n<p>[QUELLE: <a href=\"http:\/\/www.dslreports.com\/faq\/10854\">http:\/\/www.dslreports.com\/faq\/10854<\/a>]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The following tip is similar to the one on the Router IOS image transfer. It is highly recommended that you are familiar with Router IOS image transfer procedure (including the troubleshooting) before attempting Switch IOS image transfer, especially when it comes to troubleshooting. As a warning, you won&#8217;t enjoy recovering a switch that has no [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[22],"tags":[],"class_list":["post-152","post","type-post","status-publish","format-standard","hentry","category-cisco"],"_links":{"self":[{"href":"https:\/\/blog.4-it.net\/index.php?rest_route=\/wp\/v2\/posts\/152","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.4-it.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.4-it.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.4-it.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.4-it.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=152"}],"version-history":[{"count":2,"href":"https:\/\/blog.4-it.net\/index.php?rest_route=\/wp\/v2\/posts\/152\/revisions"}],"predecessor-version":[{"id":154,"href":"https:\/\/blog.4-it.net\/index.php?rest_route=\/wp\/v2\/posts\/152\/revisions\/154"}],"wp:attachment":[{"href":"https:\/\/blog.4-it.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=152"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.4-it.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=152"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.4-it.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=152"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}