Showing posts with label Cisco switch IOS recovery flash. Show all posts
Showing posts with label Cisco switch IOS recovery flash. Show all posts

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.