Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

switch: CCCCCCCCCCxmodem:: I/O error

hello

 

I goofed and uploaded a new image to my Cisco 3750.

I deleted the prior image and set the boot flash statement and then used the command boot system flash: old image/new image

 

This caused me to enter into switch: mode

 

I have tried various recovery steps

   flash_init

    load_helper

 

The dir flash still show old image which was deleted. It seemed my only course to reciver was to Xmodem

 

I am using SecureCRT and tried the TRANSFER XMODEM option, no success

I then issued the following (twice:

switch: copy xmodem: flash:c3750-ipservicesk9-mz.122-55.SE9.bin
Begin the Xmodem or Xmodem-1K transfer now...
CCCCCCCCCCxmodem:: I/O error

switch:

 

What other options can I try to correct this mistake?

sMc
2 ACCEPTED SOLUTIONS

Accepted Solutions

Run your command, using

Run your command, using SecureCRT. Then, BEFORE the 3rd C appears complete the following steps in SecureCRT...

  • Go to Transfer -> Send Xmodem. 
  • Choose your file and hit OK

should run fine after that. I'm curious to know what BAUD rate you're using...

I see that your baud is set

I see that your baud is set to 9600. 

BAUD=9600

Did you just set that per my instructions above?  I was able to find a step by step guide on Cisco (if you don't have it already).  Shows how to do the upload in either baud rate.  Keep in mind that in your case you'd use the Transfer -> Send xmodem option in SecureCRT vs what you'd do in HyperTerminal:

 

http://www.cisco.com/c/en/us/support/docs/switches/catalyst-2950-series-switches/41845-192.html#speedrecovery

23 REPLIES
Cisco Employee

switch:dir flash:switch:flash


switch:dir flash:
switch:flash_init
Switch:load-helper
Switch:boot flash:filename/filename

 

2)

http://www.cisco.com/c/en/us/support/docs/switches/catalyst-2950-series-switches/41845-192.html#speedrecovery

Try using the Hyperterminal :

I am using HT to copy files using xmodem, and it works fine with baud rate set to 115200.

 

For this to work, you have first ensure that there's enough free space on the flash (if not, format it or delete files). Then you have to execute "set BAUD 115200". Once you press Enter console will stop responding. You will have to disconnect (Call -> Disconnect), then change connection Properties (File -> Properties -> Configure) and set HyperTerminal connection's baud rate to 115200. You will have your connection restored.

 

After this just execute "copy xmodem: flash:.bin" and start file transfer in HT (Transfer -> Send File). Ensure that you selected an appropriate BIN  file and changed transfer mode to XMODEM or XMODEM-1K before pressing send.

 

HTH

 

New Member

Insharie Thank you for the

Insharie

 

Thank you for the response. I am on windows 7, No Hyperterm. SecureCRT and putty are my options.

There is enough free space.

Still unable to get this done.


 

sMc

Run your command, using

Run your command, using SecureCRT. Then, BEFORE the 3rd C appears complete the following steps in SecureCRT...

  • Go to Transfer -> Send Xmodem. 
  • Choose your file and hit OK

should run fine after that. I'm curious to know what BAUD rate you're using...

New Member

Antonio Thank you for the

Antonio

 

Thank you for the response.

 

Here is what I have entered

 

switch: copy xmodem: flash:c3750-ipservicesk9-mz.122-55.SE9.bin
Begin the Xmodem or Xmodem-1K transfer now...
CCC
Starting xmodem transfer.  Press Ctrl+C to cancel.
Transferring c3750-ipservicesk9-mz.122-55.SE9.bin...

 

I do not see anything showing a transfer in progress, is that  expected

sMc

Typically, no.  You'd have

Typically, no.  You'd have CCCCCC................. and the ....  output continues till the transfer was completed.  If you lost the console connection the moment you hit enter and can't do anything at that point, change your baud rate reconnect and restart xmodem transfer.  If yours is 9600, change it to 115200 and reconnect then restart xmodem transfer in SecureCRT.  If yours is already 115200, change it back to 9600 and reconnect then restart Xmodem transfer in SecureCRT.

 

Please rate if helpful

New Member

AntonioI must have lost

Antonio

I must have lost connection, however, both the switch and COM port show 115200

switch: flash_init
Initializing Flash...
...The flash is already initialized.
Setting console baud rate to 115200...

My COM 3 port is also set to 115200.

 

after the process shows "Transferring c3750-ipservicesk9-mz.122-55.SE9.bin..." nothing else happens

 

 

sMc

at the switch: prompt, type

at the switch: prompt, type 'set' and hit Enter.  Post the output here so we can check settings.

New Member

Antonio switch: set$=!ýßúKõ˜ž

Antonio

 

switch: set
$=!ýßúKõ˜ž÷ãÐHbŒ›ˆ}.Ý·!á,CÏÚ¿ÇÄŠO\Àíb¾€ýãëb'O]FBó_Åû¶:ÆÙÃEu­@y˜h>º?:.ìÍÏ÷”¡—Øç©ë&ªºû"->¿±“—‡/4›½ÅǪøš¯§ª+&žö¥‰†¶4+»
>Z=ç-î-Œ}üOµè%S.        ïñª& CPËX³J~V¯3
BAUD=9600
BOOT=f+a_h:/c3750-i-_e_+ice_+9-+z.122-55.SE9.bi+
CLEI_CODE_NUMBER=CNMWU00ARC
MAC_ADDR=00:19:E7:72:7E:80
MODEL_NUM=WS-C3750G-48TS-S
MODEL_REVISION_NUM=D0
MOTHERBOARD_ASSEMBLY_NUM=73-10218-08
MOTHERBOARD_REVISION_NUM=B0
MOTHERBOARD_SERIAL_NUM=FOC10414HSM
POWER_SUPPLY_PART_NUM=341-0107-01
POWER_SUPPLY_SERIAL_NUM=AZS104508DE
SDM_TEMPLATE_ID=0
SWITCH_NUMBER=2
SWITCH_PRIORITY=1
SYSTEM_SERIAL_NUM=FOC1042Y1BK
TAN_NUM=800-26857-01
TAN_REVISION_NUMBER=A0
VERSION_ID=V03

 -- MORE --
_+i+ch:    

 

sMc

I see that your baud is set

I see that your baud is set to 9600. 

BAUD=9600

Did you just set that per my instructions above?  I was able to find a step by step guide on Cisco (if you don't have it already).  Shows how to do the upload in either baud rate.  Keep in mind that in your case you'd use the Transfer -> Send xmodem option in SecureCRT vs what you'd do in HyperTerminal:

 

http://www.cisco.com/c/en/us/support/docs/switches/catalyst-2950-series-switches/41845-192.html#speedrecovery

I also notice that there's a

I also notice that there's a bit of gibberish in your output.  You should check your SecureCRT settings and make sure your connection is using the following (attached):

 

 

New Member

Antonio settings are the same

Antonio

 

settings are the same

sMc
New Member

Antonio Got iot working.

Antonio

 

Got iot working. Thank you again for the great guidance!

sMc

No problem.  What was the fix

No problem.  Which solution was the fix?

New Member

I changed the BAUD rates to

I changed the BAUD rates to see what might work

I have tried 9600 to 9600 and 115200-115200, same result.

sMc

I know this is kinda obvious,

I know this is kinda obvious, but did you copy/paste the filename in on the command line or did you type it by hand?  I recommend copy paste.  I only ask because I've been burned by that myself before.

New Member

copy paste. I noted the

copy paste.

 

I noted the following in the SecureCRT settings. Upload was set to diffent area than .bin file islocated. will try again

sMc
New Member

no success I issued the

no success

 

I issued the format flash

flash_init

reset.

 

here is what i have now. Does this make any sense?

 


switch: format flash:
Are you sure you want to format "flash:" (all data will be lost) (y/n)?y
flashfs[0]: 0 files, 1 directories
flashfs[0]: 0 orphaned files, 0 orphaned directories
flashfs[0]: Total bytes: 32514048
flashfs[0]: Bytes used: 1024
flashfs[0]: Bytes available: 32513024
flashfs[0]: flashfs fsck took 7 seconds.
Setting console baud rate to 9600...
Filesystem "flash:" formatted

switch: ?
           ? -- Present list of available commands
        boot -- Load and boot an executable image
         cat -- Concatenate (type) file(s)
        copy -- Copy a file
      delete -- Delete file(s)
         dir -- List files in directories
  flash_init -- Initialize flash filesystem(s)
      format -- Format a filesystem
        fsck -- Check filesystem consistency
        help -- Present list of available commands
 load_helper -- Load and initialize a helper image
      memory -- Present memory heap utilization information
       mkdir -- Create dir(s)
        more -- Concatenate (display) file(s)
      rename -- Rename a file
       reset -- Reset the system
       rmdir -- Delete empty dir(s)
         set -- Set or display environment variables
      set_bs -- Set attributes on a boot sector filesystem
   set_param -- Set system parameters in flash
       sleep -- Pause (sleep) for a specified number of seconds
 -- MORE --
        trap -- Cause a software breakpoint to occur
        type -- Concatenate (type) file(s)
       unset -- Unset one or more environment variables
     version -- Display boot loader version

switch: dir

List of filesystems currently registered:

               flash[0]: (read-write)
              xmodem[1]: (read-only)
                null[2]: (read-write)
                  bs[3]: (read-only)


switch: flash_init
Initializing Flash...
...The flash is already initialized.
Setting console baud rate to 9600...

switch: reset
Are you sure you want to reset the system (y/n)?y
System resetting...

Base ethernet MAC Address: 00:19:e7:72:7e:80
Xmodem file system is available.
The password-recovery mechanism is enabled.
Initializing Flash...
flashfs[0]: 0 files, 1 directories
flashfs[0]: 0 orphaned files, 0 orphaned directories
flashfs[0]: Total bytes: 32514048
flashfs[0]: Bytes used: 1024
flashfs[0]: Bytes available: 32513024
flashfs[0]: flashfs fsck took 7 seconds.
...done Initializing Flash.
Boot Sector Filesystem (bs) installed, fsid: 3
done.
Loading "flash:/c3750-ipservicesk9-mz.122-55.SE9.bin"...flash:/c3750-ipservicesk9-mz.122-55.SE9.bin: no such file or directory

Error loading "flash:/c3750-ipservicesk9-mz.122-55.SE9.bin"

Interrupt within 5 seconds to abort boot process.
Boot process failed...

The system is unable to boot automatically.  The BOOT
environment variable needs to be set to a bootable
image.


switch:

sMc

It makes sense. It's looking

It makes sense. It's looking for an image in flash that matches the boot string. Since you just wiped flash, it will fail because there is no image. You can try the xmodem transfer again. 

Also, did you delete the old

Also, did you delete the old IOS image?  Just the little things that could break the process have to be checked.

New Member

So far no matter what BAUD

So far no matter what BAUD rate I set (9600 or 115200), I get same results!?

sMc

Baud rate is just for the

Baud rate is just for the purposes of transfer speed in this situation.  Most folks go with 115200 because it's quite a bit faster than 9600 as far as bitrate/transfer speed.  Results will be the same, just that the 9600 rate takes significantly longer.

New Member

Still getting same response

Still getting same response

 

switch: copy  xmodem: flash:c3750-ipservicesk9-mz.122-55.SE9.bin
Begin the Xmodem or Xmodem-1K transfer now...
CCCCCCCCCCxmodem:: I/O error

 

What am I missing??

sMc
New Member

Re: switch: CCCCCCCCCCxmodem:: I/O error

I'ved the same problem, but i solved with this :  on my cisco 34xx baud 115200 and on my terminal too 115200.

switch: copy -b 115200 xmodem: flash:me340x-metroipaccessk9-mz.122-60.EZ11.bin
Begin the Xmodem or Xmodem-1K transfer now...
C............................................................................... ..........................................................
File "xmodem:" successfully copied to "flash:me340x-metroipaccessk9-mz.122-60.EZ 11.bin"

switch: dir flash:
Directory of flash:/

2 -rwx 15690496 <date> me340x-metroipaccessk9-mz.122-60.EZ1 1.bin

12179456 bytes available (15818752 bytes used)

1763
Views
0
Helpful
23
Replies
CreatePlease login to create content