Solved

Cisco Catalyst 2900

Posted on 2014-10-03
14
292 Views
Last Modified: 2014-11-05
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.

Switch:

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.
0
Comment
Question by:Yeloball
  • 6
  • 6
14 Comments
 
LVL 22

Expert Comment

by:Jody Lemoine
Comment Utility
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.
0
 

Author Comment

by:Yeloball
Comment Utility
Should I then just use Tera Term and do a copy xmodem flash:c2900xl-c3h2l9s-mz.120-5.WC17.bin
0
 
LVL 22

Expert Comment

by:Jody Lemoine
Comment Utility
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:

http://www.cisco.com/c/en/us/support/docs/switches/catalyst-2900-xl-series-switches/12036-corrupt-or-missing-image.html
0
 

Author Comment

by:Yeloball
Comment Utility
Excellent! Thank you. It has been driving me nuts.
0
 

Author Comment

by:Yeloball
Comment Utility
I attempted the copy xmodem. It went all the way to 100%,

I then received

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

Thanks
0
 
LVL 22

Expert Comment

by:Jody Lemoine
Comment Utility
Something didn't complete properly with the transfer. Have you tried Xmodem-1K?
0
What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 

Author Comment

by:Yeloball
Comment Utility
I have not, looks like Tera Term version I have only has Xmodem. Something else I should be using?
0
 
LVL 22

Accepted Solution

by:
Jody Lemoine earned 500 total points
Comment Utility
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.
0
 

Author Comment

by:Yeloball
Comment Utility
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?
0
 
LVL 22

Expert Comment

by:Jody Lemoine
Comment Utility
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.
0
 

Author Comment

by:Yeloball
Comment Utility
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 ?
0
 
LVL 22

Expert Comment

by:Jody Lemoine
Comment Utility
Leaving the configuration file aside for the moment, are you able to boot the switch into its IOS yet?
0
 
LVL 28

Expert Comment

by:mikebernhardt
Comment Utility
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.
0

Featured Post

Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

Join & Write a Comment

Suggested Solutions

This article is a guide to configure bridging on Cisco Routers.  This is something I never knew was possible until after making a few phone calls to Cisco.  Using bridging saved our company money by not requiring us to purchase a new switch.  Bridgi…
Quality of Service (QoS) options are nearly endless when it comes to networks today. This article is merely one example of how it can be handled in a hub-n-spoke design using a 3-tier configuration.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now