site Search:


 
    All Forums Hot Topics Gallery






how-to block ads


 
Search Topic:
Uniqs:
7721
Share Topic
Posting?
Post a:
Post a:
Links: ·Submit a new forum topic ·Forum FAQ ·Submit a FAQ ·Docs Guidelines and Advisories ·EOS/EOL thread
AuthorAll Replies


javed akbar

@go4b.net.pk

kinldy resolve Cisco switch 3560 issue

i have a cisco 3560,it was working fine but suddenly it stops working,when i take an access it show me the swtich: prompt,i searched google that my ios has been deleted,i tried everything but i still get the following error

switch: copy xmodem: flash:c3560-ipservices-mz.122-46.SE.bin
Begin the Xmodem or Xmodem-1K transfer now...
CCCCCCCCCC...........xmodem:: I/O error

here i am showing the results of some usefull commands so that they may gives u help to rectify the problem.

switch: flash_init
Initializing Flash...
flashfs[0]: 0 files, 1 directories
flashfs[0]: 0 orphaned files, 0 orphaned directories
flashfs[0]: Total bytes: 15998976
flashfs[0]: Bytes used: 1024
flashfs[0]: Bytes available: 15997952
flashfs[0]: flashfs fsck took 8 seconds.
...done Initializing Flash.
Setting console baud rate to 9600...

switch: dir flash:
Directory of flash:/

15997952 bytes available (1024 bytes used)

switch: load_helper

remember that i have a linux system and i am accessing the switch using minicom
kinldy help me
waiting for reply
thanks


kamikatze

join:2007-11-02

1 edit

Try to TFTP the image instead of xmodem. Xmodem is the most unreliable thing the industry has managed to produce (except floppy disks).



TomS_
Git-r-done
Premium,MVM
join:2002-07-19
Ireland
kudos:1

Ive had pretty good success with xmodem. Its just hella slow is all.

IMO



kamikatze

join:2007-11-02

Remember the

CONNECT 2400
 
days?

I DON'T WANT TO ANYMORE! :)


sgtcasey
It's hot in NM.
Premium
join:2009-07-06
Albuquerque, NM

I sometimes miss messing around with the IBM PCjr and the 300 baud modem I had back then.

+1 to having good luck with xmodem. There is a way to speed up your xmodem transfers so you're not stuck at 9600 baud.

I just used it a couple weeks ago when someone loaded a 3550 image onto a 3560 and tried to boot it.

Dave



MrTwister
Premium
join:2003-09-27
Hilliard, OH

reply to javed akbar
Sorry I just saw this message, I've been out for a few days sick.

I've had plenty of practice with this, as I've got a few
people that were helping me upgrade the IOS on a
bunch of switches, but they'd get all excited and forget
to verify that they actually put the new IOS on teh switch
before they powered off the switch.
(oh yeah, I even found a bizarre Lord Of the Rings version of an IOS file on 2 of my c3750's, but still
puzzles me, but have not had the time to play with it
to see what it does)

Needless to say, after waiting 3+ hours for the
IOS file to transfer over the console cable at 9600 baud,
I decided to make things much easier.

** TFTP transfers are not possible if the switch IOS image file is missing or corrupt **

You had the right procedure, but
here's how I do it;

(this is a 3750, but works on 3550, 3560, etc)
(also, you've covered steps, but just to reiterate this is from a document that I created for the NOC to support the 3750 switches)

I use hyper term, as I know it has the 1k xmodem
transfer, where my standard term program (crt),
does not.

*note* you might need to issue the 'load_helper' command.

1) Connect to console via Hyperterm
- 9600 baud
- 8 data bits
- no parity bits
- 1 stop bit
- no DTR/DSR flow control
- no RTS/CTS flow control
- no XON/XOFF

2) Initialize the flash subsystem with 'flash_init' command

switch:flash_init<enter>
 

3) View the contents of flash memroy to determin if IOS image is missing or if one is persent, if it's corrupt.

switch:dir flash:<enter>
 

4) Change console port speed from 9600 bps to 115200 bps.
(notice the case of the 'BAUD' variable, it is case sensitive)

switch:set BAUD 115200<enter>
 

*note* you will be disconnected from console session

5) Change/open new terminal session with new baud rate;
- 115200 baud
- 8 data bits
- no parity bits
- 1 stop bit
- no DTR/DSR flow control
- no RTS/CTS flow control
- no XON/XOFF

6) Issue the 'copy xmodem: flash:' command to start the transfer.

switch:copy xmodem: flash:c3560-ipservices-mz.122-46.SE.bin<enter>
 

you will see the following;

Begin the Xmodem or Xmodem-1K transfer now...
CCCCCCCCCC
 

quickly do step #7 before the transfer times out.

7) From the terminal package select;
'send file' with 'xmodem' or '1k-xmodem' protocol.

8) After the transfer is complete, verify the IOS image file is in the flash with the 'dir flash:' command.

9) If you're going to use the .bin file you just loaded as the main IOS and NOT use the .tar file, change
the boot parameters to reflect the new IOS image
with the 'set BOOT flash:' command.

*notice* the case of the 'BOOT' variable.

switch:set BOOT flash:c3560-ipservices-mz.122-46.SE.bin<enter>
 

10) change the console speed from 115200 bps back to the standard 9600 bps.
(notice the case of the 'BAUD' variable, it is case sensitive)

switch:set BAUD 9600<enter>
 

11) Change/open new terminal session with new baud rate;
- 9600 baud
- 8 data bits
- no parity bits
- 1 stop bit
- no DTR/DSR flow control
- no RTS/CTS flow control
- no XON/XOFF

12) Issue the 'boot' command to boot the switch off of the new IOS image using the
'boot flash:' command.

boot flash:c3560-ipservices-mz.122-46.SE.bin<enter>
 

Unless there's something drastically wrong with your switch,
you should be back in business. There have been times when I've had to
reformat the flash before adding the new IOS image file.

Usually once the switch is back up, I usually blow away
the IOS image .bin file, and proceed to upgrade the switch with the .tar file.
It's a long story, but it makes it easier for the NOC to handle software updates.

I've had to revive more switches than I'd care to have done this way, but after doing it enough times, I can say I've streamlined the process.

Hope this helps out.


jcarg1

@cargill.com

Thank you so much for this information.

It worked wonderful on a brick switch I had this morning.


Saturday, 02-Jun 19:16:47 Terms of Use & Privacy | feedback | contact | Hosting by nac.net - DSL,Hosting & Co-lo
over 12.5 years online © 1999-2012 dslreports.com.
Most commented news this week
Hot Topics