{"id":281,"date":"2010-03-26T11:01:28","date_gmt":"2010-03-26T10:01:28","guid":{"rendered":""},"modified":"2018-11-01T11:17:43","modified_gmt":"2018-11-01T10:17:43","slug":"cisco-catalyst-2960-switch-ios-recovery","status":"publish","type":"post","link":"https:\/\/nil.uniza.sk\/en\/cisco-catalyst-2960-switch-ios-recovery\/","title":{"rendered":"Cisco Catalyst 2960 switch IOS recovery"},"content":{"rendered":"<p>\n\tSometimes in my lab happens that students delete IOS of the switch from its flash. Unfortunately switches does not have rommon to realize quick IOS recovery over tftp. Only one way is over Xmodem.<\/p>\n<h2>\n\tCat 2960 switchIOS recovery<\/h2>\n<p>\n\tTo speed up the process of the recovery we may setup Xmodem speed to higher rate as default 9600 bits:<\/p>\n<p>\n\tSet the speed rate to 115200 baud on the switch prompt of the switch:<\/p>\n<pre>\r\nswitch: set BAUD 115200<\/pre>\n<p>\n\tOf course we lose our console session and therefore we need to restart it with the correct speed settings. Then&nbsp; we may realize the recovery.<\/p>\n<p>\n\tEnter copy command:<\/p>\n<pre>\r\n<span class=\"content\"><b>copy xmodem: flash:<span>filename<\/span><\/b><\/span><\/pre>\n<p>\n\tfor our Cat2960-24TTL:<\/p>\n<pre>\r\nswitch:<strong>copy xmodem: flash:c2960-lanbasek9-mz.122-52.SE.bin<\/strong>\r\nBegin the Xmodem or Xmodem-1K transfer now...\r\nCCC\r\n<\/pre>\n<p>\n\tand start sending of the file over console Xmodem software.<\/p>\n<h3>\n\tRecovery over HyperTerminal<\/h3>\n<p>\n\t<span class=\"content\">Choose <b>Transfer &gt; Send File<\/b>.<\/span><\/p>\n<p>\n\t<img decoding=\"async\" align=\"top\" alt=\"\" height=\"175\" src=\"\/wp-content\/uploads\/files\/image\/Cisco-practical\/switching\/ht.gif\" width=\"575\" \/><\/p>\n<p>\n\tand <span class=\"content\">than we choose as protocol the <b>Xmodem<\/b> and in filename click <b>Browse <\/b> and select the Cisco IOS image (.bin file) from the disk to be uploaded.<\/span><\/p>\n<p>\n\t<img decoding=\"async\" align=\"top\" alt=\"\" height=\"379\" src=\"\/wp-content\/uploads\/files\/image\/Cisco-practical\/switching\/ht2.gif\" width=\"575\" \/><\/p>\n<p>\n\tand click Send to send the file,<\/p>\n<p>\n\t<img decoding=\"async\" align=\"top\" alt=\"\" height=\"382\" src=\"\/wp-content\/uploads\/files\/image\/Cisco-practical\/switching\/ht3.gif\" width=\"575\" \/><\/p>\n<h2>\n\tRecovery over Putty<\/h2>\n<p>\n\tPutty does not support Xmodem protocol, tears.<\/p>\n<p>\n\t&nbsp;<\/p>\n<h2>\n\tFinal steps<\/h2>\n<p>\n\tTo boot the new image that we just copied over with the Xmodem procedure issue the boot flash:filename command, as the example shows:<\/p>\n<pre>\r\nswitch: boot flash:c2960-lanbasek9-mz.122-52.SE.bin<\/pre>\n<p>\n\tAfter the Xmodem recovery, we set the BAUD rate back to 9600. If the set BAUD 9600 command does not bring the baud rate to 9600, issue the unset BAUD command in order to bring the baud rate to a default value of 9600 bps.<\/p>","protected":false},"excerpt":{"rendered":"<p>\n\tSometimes in my lab happens that students delete IOS of the switch from its flash. Unfortunately switches does not have rommon to realize quick IOS recovery over tftp. Only one way is over Xmodem.<\/p>\n<h2>\n\tCat 2960 switchIOS recovery<\/h2>\n<p>\n\tTo speed up the process of the recovery we may setup Xmodem speed to higher rate as default 9600 bits:<\/p>\n<p>\n\tSet the speed rate to 115200 baud on the switch prompt of the switch:<\/p>","protected":false},"author":7,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_seopress_robots_primary_cat":"","_seopress_titles_title":"","_seopress_titles_desc":"","_seopress_robots_index":"","_kad_blocks_custom_css":"","_kad_blocks_head_custom_js":"","_kad_blocks_body_custom_js":"","_kad_blocks_footer_custom_js":"","_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"footnotes":""},"categories":[697,701,767],"tags":[],"class_list":["post-281","post","type-post","status-publish","format-standard","hentry","category-ccna-en","category-ccnp-en","category-switching-en"],"taxonomy_info":{"category":[{"value":697,"label":"CCNA"},{"value":701,"label":"CCNP"},{"value":767,"label":"Switching"}]},"featured_image_src_large":false,"author_info":{"display_name":"admin","author_link":"https:\/\/nil.uniza.sk\/en\/author\/admin\/"},"comment_info":11,"category_info":[{"term_id":697,"name":"CCNA","slug":"ccna-en","term_group":0,"term_taxonomy_id":695,"taxonomy":"category","description":"","parent":695,"count":12,"filter":"raw","cat_ID":697,"category_count":12,"category_description":"","cat_name":"CCNA","category_nicename":"ccna-en","category_parent":695},{"term_id":701,"name":"CCNP","slug":"ccnp-en","term_group":0,"term_taxonomy_id":699,"taxonomy":"category","description":"","parent":695,"count":8,"filter":"raw","cat_ID":701,"category_count":8,"category_description":"","cat_name":"CCNP","category_nicename":"ccnp-en","category_parent":695},{"term_id":767,"name":"Switching","slug":"switching-en","term_group":0,"term_taxonomy_id":765,"taxonomy":"category","description":"","parent":747,"count":2,"filter":"raw","cat_ID":767,"category_count":2,"category_description":"","cat_name":"Switching","category_nicename":"switching-en","category_parent":747}],"tag_info":false,"_links":{"self":[{"href":"https:\/\/nil.uniza.sk\/en\/wp-json\/wp\/v2\/posts\/281","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nil.uniza.sk\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/nil.uniza.sk\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/nil.uniza.sk\/en\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/nil.uniza.sk\/en\/wp-json\/wp\/v2\/comments?post=281"}],"version-history":[{"count":0,"href":"https:\/\/nil.uniza.sk\/en\/wp-json\/wp\/v2\/posts\/281\/revisions"}],"wp:attachment":[{"href":"https:\/\/nil.uniza.sk\/en\/wp-json\/wp\/v2\/media?parent=281"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nil.uniza.sk\/en\/wp-json\/wp\/v2\/categories?post=281"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nil.uniza.sk\/en\/wp-json\/wp\/v2\/tags?post=281"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}