Solved

Cisco Switch Xmodem to replace image

Posted on 2010-09-07
11
1,147 Views
Last Modified: 2012-05-10
I just got done using xmodem to load a .bin file to a switch.  This took close to 4hrs to complete and I can now assign an IP address to the switch and use something faster to now work with the -tar file, so I can finish loading the rest of the needed files to flash.

I understand that the file size used with xmodem is the reason that it took so long, and it was only around 12Mb.  There has got to be a quicker way to do this...  some have mentioned to up the baud rate to 115200, but even this is slow.  (dog slow).

I was wondering if there is a tiny tiny image file out there, that all it does is allow the ability to add an IP address to the management vlan, so I can than use a TFTP Server to get the larger -tar file onto the switch and then expand it from the switch.  The smaller the file the quicker xmodem will work.

Unless there is another quicker option out there to replace an image on a switch then using xmodem.

Please advise and thanks. -R-
0
Comment
Question by:RWayneH
11 Comments
 
LVL 4

Expert Comment

by:bjove
Comment Utility
There is no other option to upload image on a switch. You can speed up the process by increasing baud rate to 115200 and selecting some small IP Base IOS image.
0
 
LVL 4

Expert Comment

by:rickybsb
Comment Utility
Cheers RWayneH,

I just did the same operation on a crashed manageable MRV switch last week.
If you cant connect to your hardware over TCP/IP using an ip address, communicate over serial using XModem unfortunately is the only way to get this baby running again, by sending a basic BIN and flashing it.
Definitely you are on the Right way.
If need anything else let me know.



0
 
LVL 50

Expert Comment

by:Don Johnston
Comment Utility
Depends on the platform. Some switches have removable flash cards so you can copy the IOS image to the card on a working switch and then plug it into the switch in question.

Other platforms have a USB socket that you can connect a USB flash drive to and copy the IOS into flash.

For all the rest... xmodem. :-(
0
 

Author Comment

by:RWayneH
Comment Utility
Thanks for the input.
Switches with removable flash would be good and much quicker, we use this with 2800 series routers and above and it works very good.

But until we can afford to update the switches to one that have USB ports, it sounds like we will have to use xmodem.  What series switches have USB's?  we use 3560 PoE's

What i was looking for is a small (or the smallest) IP based IOS image there is... to minimize the time xmodem is needed.  If anyone has one that they can share? or know were one can be downloaded, this would be awesome.  At this point this it appears that this is the only option.

After this small IP based IOS image is loaded, we can then proceed with using a TFTP Server to add the real IOS image and expand the -tar file.

Please advise and thanks. -R-
0
 
LVL 50

Expert Comment

by:Don Johnston
Comment Utility
>What series switches have USB's?

Nexus


0
Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 

Author Comment

by:RWayneH
Comment Utility
Is there no such file to reduce the xmodem time to a minimum so we can TFTP from there?

On the Nexus... is the USB available in rommon?  It does not good if not.    -R-
0
 
LVL 50

Expert Comment

by:Don Johnston
Comment Utility
>Is there no such file to reduce the xmodem time to a minimum so we can TFTP from there?

Nope.

>On the Nexus... is the USB available in rommon?

I don't know. But then again with two supervisors, it's pretty unusual to end up with no IOS on either one of them.
0
 

Author Comment

by:RWayneH
Comment Utility
I find this hard to believe that there is no such file... and no one knows if USB ports are available in rommon mode.  -R-
0
 
LVL 50

Accepted Solution

by:
Don Johnston earned 500 total points
Comment Utility
>I find this hard to believe that there is no such file...

Normally, the IOS is uploaded to flash on an operational switch. Should the flash be erased and the switch reloaded, the file will have to be uploaded using good old xmodem.

>and no one knows if USB ports are available in rommon mode.

Only because there's not much of an opportunity to. The chances of erasing the IOS from the flash of both supervisors (and rebooted) would be unlikely.
0
 

Author Comment

by:RWayneH
Comment Utility
Thanks... this just amazes me that there is no other options then waiting the hrs that xmodem takes and that it is actually quicker to have a second switch on a shelf some where that does have an image on it.  Replacing the bad switch with the new one and fixing the erased flash device later.  Truely amazing.

Thanks for the help. -R-
0
 

Author Closing Comment

by:RWayneH
Comment Utility
Appreciate the help.  -R-
0

Featured Post

Google Storage: Standard vs. Nearline vs. Coldline

Google Cloud Storage has a number of classes to choose from. Although there are a lot in common, they vary in price and usage terms. This post explains Google Cloud Storage classes and helps to understand which  one to choose.

Join & Write a Comment

Suggested Solutions

In this CloudClass Webinar, Quest (http://www.questsys.com/) CTO Mike Dillon gives an overview of the steps involved in building a dynamic disaster recovery plan. Through case studies and an examination of software/hardware tools for monitoring an…
Throughout my career I’ve read many articles and performed due diligence on recovering VM’s that broke on the XenServer platform. From my experience and perspective it seems to be an ample amount of confusion as to a good base method to start with. …
This tutorial will walk an individual through locating and launching the BEUtility application and how to execute it on the appropriate database. Log onto the server running the Backup Exec database. In a larger environment, this would generally be …
This tutorial will walk an individual through setting the global and backup job media overwrite and protection periods in Backup Exec 2012. Log onto the Backup Exec Central Administration Server. Examine the services. If all or most of them are stop…

762 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

9 Experts available now in Live!

Get 1:1 Help Now