Thursday, April 14, 2011

IOS Recovery for Cisco 2960 switch using ROMMON (Recovery Mode)

The task at hand was to update the IOS's of new 2960 switches using a pre-built text file for the commands.
 The loaded text file accidentally blew away the IOS from flash memory.

To fix this you need :
-Cisco IOS for switch
-console cable
-Hyper Terminal (for sending files via Xmodem)

At the rommon prompt for the switch type:
set BAUD 115200 to change the baud rate of the switch for a faster transfer through the serial console.

Reset your hyper terminal session and set it's baud rate to 115200.

At the rommon prompt ( switch: ) for the switch now type:

switch:  flash_init
switch:  copy xmodem: flash: file-name

The switch will respond with:
Begin the Xmodem or Xmodem-1K transfer now...
CCC


Then go to Hyper Terminal's menu bar, selected Transfer, then Send File.
Select the file to send and select Xmodem as the protocol.

This process takes around 45 minutes.

7 comments:

  1. Great post man!!!!
    Thank you very much for sharing this!

    ReplyDelete
  2. thank you man ..!! it worked nicely..!!

    ReplyDelete
  3. Thanks, very helpful. My C2960 up and running again. I'm using XMODEM on Tera Term.

    ReplyDelete
  4. Hi guys

    I have a situation here , wherein i get the prompt as switch:
    but after that i am not able to enter anything into the console ....any suggestions

    ReplyDelete
    Replies
    1. I would check the cable to make sure it is seated properly and check the settings on your terminal to make sure they match the settings the switch is expecting.

      Delete