Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
New Member

backup and restore of flash from one switch to another

hi! i accidently deleted a cisco 3550 switch's flash by "delete flash" command. I've another unit of 3550. Can i do a sh version and copy the .bin file from the working swith using tftp and restore to the switch that i;ve deleted the flash?

I'm connecting using console cable to the switch directly.

To backup the flash .bin file from the working switch: (assuming the flash file is called abc.bin and i want to copy the file into a foler called tftp in c drive. The tftp is turned on the pc that's connected directly to the switch through console cable)

copy flash: abc.bin tftp:\\10.0.0.1\tftp\abc.bin

To Restore to the switch which the flash was deleted: (connected using console cable as well)

copy tftp:\\10.0.0.1\tftp\abc.bin flash:abc.bin

Let me know whether the syntax above is correct or not. for the image file must it be the exact one as the one shown on the working swich or i can rename it to any other name? Pls advise. thanks

3 REPLIES
Cisco Employee

Re: backup and restore of flash from one switch to another

Hi Friend,

Yes that is possible but not using a console cable. Using a console cable you are not in network but just connected to switch console via your machine com port.

Now first question here is after deleting image from flsh on your switch have you also reloaded the switch after that or it is still up and running in normal exec prompt.

If it is in rommon mode with switch: prompt then tftp is not possible and option left with you is only xmodem and if you are on exec prompt then yes you can take a backup of image from working switch on tftp server but tftp server should be connected to the switch via ethernet cable on regular port and once you have the file on your tftp server you can again copy it from tftp sever to your other switch provided your switch is not in rommon mode.

Yes the syntax what you have written in your post is correct and yes the image file name in working switch should be same when you copy on to the non working switch.

HTH

Ankur

*Pls rate all helpfull post

New Member

Re: backup and restore of flash from one switch to another

hi! Yes, i think it's in rommon mode....which has "switch:" prompt after booting up. Assuming i've copied the .bin file from the working switch into c:\tftp\abc.bin. How do i use the xmodem command to upload the .bin file to the non-working switch?

Thanks.

Cisco Employee

Re: backup and restore of flash from one switch to another

Hi Friend,

Oki now as you comfirm that your switch is in rommon and you need a console connection for xmodem recovery which you already have.

Just go through this link and which will guide you step by step to recover your switch

http://www.cisco.com/en/US/products/hw/switches/ps628/products_tech_note09186a0080169696.shtml#speedrecovery

HTH

Ankur

*Pls rate all helpfull post

1011
Views
5
Helpful
3
Replies
CreatePlease to create content