12-07-2016 01:32 AM - edited 03-08-2019 08:28 AM
Hi,
I have a Cisco switch 3560G with a missing IOS image, how do I go about copying a IOS image from an identical Switch 3560G to PC and then copying that image to the corrupted switch,
thanks
paul
12-07-2016 02:27 AM
Hi Paul,
If it is completely corrupted you will have to do it via xmodem over the console cable I believe. I have done this once a long time ago and I remember it took a while... it was successful though.
To copy the relevant IOS you require to your PC -
Install some tftp software onto your PC. I use tftp32 / 64 (this is free)
You need to ensure you have IP connectivity between the working switch and your PC if you follow below.
From the working switch using the copy command you copy the current IOS. Find the IOS name you want to copy from flash :
AZ-BAK-3560-01#dir flash:
Directory of flash:/
4 -rwx 11772212 Mar 4 1993 20:12:23 +00:00 c3560-ipbasek9-mz.122-55.SE9.bin
Your IOS may be different from above..
See my test copy below -
AZ-BAK-3560-01#copy flash: tftp:
Source filename []? c3560-ipbasek9-mz.122-55.SE9.bin
Address or name of remote host []? 10.44.21.15 - This will be your PC IP
Destination filename [c3560-ipbasek9-mz.122-55.SE9.bin]?
!!!!
This will copy the IOS to your PC. You can then follow the recovery procedure for xmodem here -
http://www.cisco.com/c/en/us/support/docs/switches/catalyst-2950-series-switches/41845-192.html#topic2
12-07-2016 04:48 AM
BTW, going the console route does take quite some time. If you use that technique, pushing the console port to its faster supported rate, with your PC, will cut down transfer time (also BTW, remember to reset rate back to standard 9600 before rebooting) and/or perhaps if your PC and the 3560 support it, XMODEM-1K, will cut the transfer time some too.
12-13-2016 12:06 AM
The fault was found with the circuit board it's self the fan on the back of the unit is running at full speed, the two units have now been scrapped, again thank you for your help and support.
12-07-2016 02:32 AM
is the 3560 your trying to put it on in rommon as there is no image currently ? if its is you will have to do tftpdnld to get an image onto it
rommon1>IP_ADDRESS= ip_address
rommon2>IP_SUBNET_MASK= ip_address
rommon3>DEFAULT_GATEWAY= ip_address
rommon4>TFTP_SERVER= ip_address
rommon5>TFTP_FILE= filename
rommon6>tftpdnld
to pull it from current switch use these commands , you can use tftp or ftp/scp depending what you have setup on your pc
copy flash:/(ios image filename) tftp
http://www.cisco.com/c/en/us/support/docs/routers/2500-series-routers/15092-copyimage.html
12-07-2016 04:40 AM
BTW, many Cisco devices, possibly the 3560 too, can act as an tftp server. I.e. using an intermediate PC isn't always required.
05-27-2024 11:37 PM
Use Tera Term, to transfer flash image via Xmodem to cisco switch, download Tera Term its free
Power on your switch while pressing the mode button you will get the ROMMON prompt (switch:)
setup the transfer speed at its high to transfer fast
switch: set BAUD 115200
Open tera term terminal and go to:
set up > serial port… > then change the baud rate to 115200 there as well
Give the switch a minute take into effect, don’t panic when you feel like the screen froze, that happens, if you feel you don't get prompt even after press mode button change this back to 9600 you will get prompt back.
then type:
switch: flash_init
switch: copy xmodem: flash:<the image file>
the image file name means the file that you kept on desktop or any folder just copy and pate the name followed by .bin extension
when you hit enter after this command you will see CCCs displayed, then on tera term menu click File > XMODEM > send
browser the file on your desktop or the folder you kept .bin file, That’s it! Here the transfer will begin
To verify if .bin files were copied you can type:
switch: dir flash: and the .bin file should be there.
Depending on the link’s speed it may take up to 40minutes. Once everything is done. Do not forget to set the Baud rate back to 9200:
switch: set BAUD 9200
You are almost there, last thing you need to do is type:
switch: boot flash:<.bin file name>
--------------------------------------------------
while XMODEM>send sends the file to switch and XMODEM>receive will get the file form switch, choice is yours.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide