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

Attention: The Cisco Support Community site will be in read only mode on Dec14, 2017 from 12:01am PST to 11:30am for standard maintenance. Sorry for the inconvenience.

New Member

Restoring deleted IOS image

I purchased this switch on ebay, it does work (or at least it did before I deleted the files on it). I have followed the procedure to copy a file from via tftp and hyperterminal but get a permission denied error from hyperterminal and cannot connect from tftp.

I'm connecting via the console cable to a c2912-XL-EN, 8MB RAM. When I type dir flash: I get four options flash, null, bs and something else I can't remember (I'm at work, switch is at home). I know that there is a simple fix or way to proceed but just starting into this arean I need some assistance. Any advice is appreciated.

6 REPLIES

Re: Restoring deleted IOS image

if you are unable to load a new IOS through HTTP or TFTP or CLI, you can load IOS through XMODEM in ROM monitor mode.

refer this link to get more information.

http://www.cisco.com/en/US/products/hw/routers/ps259/products_tech_note09186a008015bfac.shtml

hope it helps ... rate if it does ..

New Member

Re: Restoring deleted IOS image

I tried this and it didn't work. Look at the output. thanks.

dir

List of filesystems currently registered:

flash[0]: (read-write)

xmodem[1]: (read-only)

null[2]: (read-write)

bs[3]: (read-only)

switch: dir flash

unable to stat flash/: permission denied

switch: reset

Are you sure you want to reset the system (y/n)?y

System resetting...

C2900XL Boot Loader (C2900-HBOOT-M) Version 12.0(5)XU, RELEASE SOFTWARE (fc1)

Compiled Mon 03-Apr-00 17:20 by swati

starting...

Base ethernet MAC Address: 00:02:fd:f0:07:80

Xmodem file system is available.

Initializing Flash...

flashfs[0]: 1 files, 1 directories

flashfs[0]: 0 orphaned files, 0 orphaned directories

flashfs[0]: Total bytes: 3612672

flashfs[0]: Bytes used: 1536

flashfs[0]: Bytes available: 3611136

flashfs[0]: flashfs fsck took 2 seconds.

...done Initializing Flash.

Boot Sector Filesystem (bs:) installed, fsid: 3

Parameter Block Filesystem (pb:) installed, fsid: 4

The system is unable to boot automatically because there

are no bootable files to boot.

switch:

New Member

Re: Restoring deleted IOS image

A senior network tech told me to try the following and it worked like a charm, but you have to be fast or you'll have to repeat the steps.

When you hit enter (after the copy

xmodem: flash:?? command), QUICKLY click

the ?transfer? pull-down menu & start the

xmodem transfer.

Also?. on SOME older Cisco devices the

command is ?copy xmodem: bootflash:

c2900xl-c3h2s-mz.120-5.WC16.bin?

Re: Restoring deleted IOS image

Shelby,

Can you please paste the output of "dir flash:".

Let us know what prompt when you connect the console to the switch.

-amit singh

New Member

Re: Restoring deleted IOS image

My apologies, I've been swamped will classes and all. I really do appreciate the help. Below I pasted the results of the cmd.

switch: dir flash

unable to stat flash/: permission denied

switch:

New Member

Re: Restoring deleted IOS image

A senior network tech told me to try the following and it worked like a charm, but you have to be fast or you'll have to repeat the steps.

When you hit enter (after the copy

xmodem: flash:?? command), QUICKLY click

the ?transfer? pull-down menu & start the

xmodem transfer.

Also?. on SOME older Cisco devices the

command is ?copy xmodem: bootflash:

c2900xl-c3h2s-mz.120-5.WC16.bin?

510
Views
4
Helpful
6
Replies
CreatePlease to create content