Cisco Catalyst 2900

I reset a Cisco Catalyst 2900 series switch. I also removed the IOS image from it. So currently there is nothing in the flash directory.

the image I am attempting to load will not transfer to flash. The image is c2900xl-c3h2s-tar.120-5.WC17.tar

The switch right now has a prompt.


I have attempted to copy the ISO via xmodem using copy xmodem: flash:c2900xl-c3h2s-tar.120-5.WC17.tar

For some reason it will not copy and when I attempt to boot it says "Boot process failed"

I was doing this using Hyper terminal and Tera Term.
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Jody LemoineNetwork ArchitectCommented:
The .tar file includes the actual IOS image and the web UI files. In order to recover the switch, you're going about it the right way, but you need the .bin file rather than the .tar file. You can extract the .bin from the .tar and upload that using xmodem to do a basic recovery. You can then install the full .tar image once the switch is operational again.
YeloballAuthor Commented:
Should I then just use Tera Term and do a copy xmodem flash:c2900xl-c3h2l9s-mz.120-5.WC17.bin
Jody LemoineNetwork ArchitectCommented:
Exactly. If you're interested in the full how-to, just in case you think you might be missing a step, it can be found here:
Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

YeloballAuthor Commented:
Excellent! Thank you. It has been driving me nuts.
YeloballAuthor Commented:
I attempted the copy xmodem. It went all the way to 100%,

I then received

Modem: : I.O error, any idea what that means?

Jody LemoineNetwork ArchitectCommented:
Something didn't complete properly with the transfer. Have you tried Xmodem-1K?
YeloballAuthor Commented:
I have not, looks like Tera Term version I have only has Xmodem. Something else I should be using?
Jody LemoineNetwork ArchitectCommented:
I'm a Mac user myself and have never used TeraTerm. I just use screen and sz, personally.

A little bit of research indicates that you can do an Xmodem-1K transfer from TeraTerm by using option 3 on the macro version of the command:

xmodemsend 'c2900xl-c3h2l9s-mz.120-5.WC17.bin' 3

Not sure if there's a similar option for doing it through a GUI.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
YeloballAuthor Commented:
I deleted the flash on the device using,

Erase flash:

Now, when I attempt to copy the new .BIN file to the switch is says "Not enough space available"

I show no files when issuing a dir flash: command. Is there some other command that needs to be issued to completely clean up the space?
Jody LemoineNetwork ArchitectCommented:
Once IOS has booted, the "squeeze flash:" command is necessary to recover the previously-used space.

If you can't get to a functioning IOS, you should format the flash from rommon to start from a clean slate.
YeloballAuthor Commented:
I was able to format the flash and start from a clean slate. I now have the .BIN file copied into flash. But when I got to copy the config back down. I receive the error again saying not enough space. It shows there is plenty of space available. The config is only 3.96KB ?
Jody LemoineNetwork ArchitectCommented:
Leaving the configuration file aside for the moment, are you able to boot the switch into its IOS yet?
Once the switch boots up properly, you can either tftp the config to it or copy it in via the console. Note that the console buffer is pretty small so it's far better to configure IP and use TFTP to copy the config to the startup-config. Then reboot WITHOUT SAVING and you'll be back in business with your temporary config gone.

You will also have to rebuild your vlan database manually if you had vlans configured, as that is stored separately from the config on these switches.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Switches / Hubs

From novice to tech pro — start learning today.