how to use xmodem 3550 putty tftp

hi I am currently using a 3550 layer 3 switch.

originally I had 2 x ios's in flash

step 1
just to make sure no corruption, I have installed 'tftp - putty' and copied the ios into the putty path as usual

step 2
reloaded 3550 by pressing the 'mode' button on the switch which is now showing the prompt below and I have typed the below:

switch: copy xmodem: flash:c2955-i6q4l2-mz.121-13.EA1.bin - enter
ccccccccxmodem:: I/o error
switch:

step 3
if I access the 'putty' properties and change baud rate from '9600 to 11500' the putty screen cursor shows, but when I hit enter, the screen does not show any characters.  I then change '11500 back to 9600' and I can view the 'putty' screen as usual

question 1.  as I am not using win 2003 that uses 'hyperterminal', I am now using win 2008 that does not use 'hyperterminal', so can anyone advise on how to copy the ios from my tftp back to my cisco 3550  ?


note: I have been looking at the below sites:

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

http://www.cisco.com/c/en/us/support/docs/switches/catalyst-3550-series-switches/41541-190.html#concept2
mikey250Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Don JohnstonInstructorCommented:
The c2955-i6q4l2-mz.121-13.EA1.bin is for a 2955.  You can't run that on a 3550.
0
mikey250Author Commented:
hi don,
apologies my mistake the following is for the 2950:

c2950-i6q4l2-mz.121-13.EA1.bin - not for the 3550

it was a typo error as consoling into both 2950 and 3550
0
Introducing Cloud Class® training courses

Tech changes fast. You can learn faster. That’s why we’re bringing professional training courses to Experts Exchange. With a subscription, you can access all the Cloud Class® courses to expand your education, prep for certifications, and get top-notch instructions.

mikey250Author Commented:
hi joinaunion,

qns1.  when I attempt to delete the single ios in my 3550 it states error.  so how do I resolve this so I then have no ios on the 3550  ?

qns2.  as I am using win 2008 which does not use hyperterminal, how do I set the baud rate to 11500 via the software app: putty  - so that I can then upload 3550 ios, just incase the current copy is corrupt  ?
0
mikey250Author Commented:
I have logged back onto my 3550 layer 3 switch and can view the ios:

sh ver

c3550-i5q312-mz.121-22.ea2.bin

dir flash:

- rwx 4250736 mar 01 1992 00:04:44 +00:00 c3550-i5q312-mz.121-22-EA2.bin

command run:

delete c3550-i5q312-mz.121-22.EA2.bin
delete filename c3550-i5q312.121-22.EA2.bin - enter
delete flash:c3550-i5q312.121-22.EA2.bin (confirm) - enter
%error deleting flash:c3550-i5q312.121-22.E2.bin (no such file or directory)

question 1.  I wish to completely remove the ios and then re-install as if just out of the box scenario  ?
0
Don JohnstonInstructorCommented:
The file name is case sensitive.
0
mikey250Author Commented:
hi don,

I have double checked and I have typed the below exactly how it is shown via dir flash: ie

delete flash:c3550-i5q312.121-22.EA2.bin (confirm) - enter
 %error deleting flash:c3550-i5q312.121-22.E2.bin (no such file or directory)
0
Don JohnstonInstructorCommented:
Please post the output of a "show version" and a "show flash" (or "dir flash").
0
mikey250Author Commented:
hi don, ive attached screenshot.
3550-flash-screenshot.docx
0
Don JohnstonInstructorCommented:
try using "delete c3550-i5q312-mz.121-22.EA2.bin".

Also issue a "pwd" and post the output.
0
mikey250Author Commented:
hi don,

yes I did try that also but got exact same error.
0
Don JohnstonInstructorCommented:
Also issue a "pwd" and post the output.
0
mikey250Author Commented:
morning don, what do you mean "pwd"  ?
0
mikey250Author Commented:
hi don,  ive have just ran command: "pwd" - & it shows the exact same files and ios as "dir flash:".
0
Don JohnstonInstructorCommented:
The "pwd" command shows the Present Working Directory.  It does not show files, IOS version, or anything else.

So I have no idea how you're getting a directory from that command.
0
mikey250Author Commented:
hi don, apologies for not getting back!! I have just switched on my cisco 3550 and have typed the following command again:

apologies, my confusion:

- pwd - shows:

flash:
switch#

then I do: "dir flash:" - & then see the expected files including the single ios I wish to delete

qns1.  what about where it says below there is (no such file or directory)  - could this be the reason and I am getting incorrect info  ?

delete flash:c3550-i5q312.121-22.EA2.bin (confirm) - enter
  %error deleting flash:c3550-i5q312.121-22.E2.bin (no such file or directory)
0
Don JohnstonInstructorCommented:
The only time I've seen this message is when the filename is incorrectly typed or the directory is wrong.

The directory is correct.

Are you typing or pasting the filename.  If typing, you could be typing in a number "1" instead of a lowercase "L" or a number zero instead of a letter "o".  If you haven't already done so, try copying the filename on the dir flash to the clipboard and then pasting it in when entering the delete command.
0
mikey250Author Commented:
I am plugged into physical console port and all commands typed manually.

ive just opened 'wordpad' to confirm keyboard presses are correct and yes they are.

there is (no zeros) anyway in ios.

resolution:

I have now copied the actual 'ios' from 'dir' & - yes it has now deleted, so why was that  ?

odd!!
0
mikey250Author Commented:
I am now left with the below, so shall I delete all of the above and re-install fresh  ?

- private-config.text
- env_vars
- config.text
- system_env_vars
0
Don JohnstonInstructorCommented:
there is (no zeros) anyway in ios.
How do you type 3550 without a zero? :-)

I am now left with the below, so shall I delete all of the above and re-install fresh  ?
You can do that. They'll just get recreated anyway.
0
mikey250Author Commented:
I have 2 types of software:

- pumpkin 2.7.2
- putty

when I use pumpkin - I locate the ios and add the ip address of the machine I am physically logged onto but it states 'sharing violation' so I am not sure how to upload the 'ios' back to my c3550.

when I use putty I double click which opens the putty configuration and by default the 'session' option is selected.
- on the right hand side I select the 'serial' option
- I then click open

the cmd prompt is now shown and I do the below:

copy tftp flash:c3550-i5q312.121-22.EA2.bin  - enter
address or name of remote host []: 192.168.0.254 - enter
source filename [] c3550-i5q312.121-22.EA2.bin
destination filename [c3550-i5q312.121-22.EA2.bin ] ? - enter
accessing tftp://192.168.0.254/c3550-i5q312.121-22.EA2...
%error opening tftp://192.168.0.254/c3550-i5q312.121-22.EA2 (socket error)
0
mikey250Author Commented:
oh yeh when I type: c3550 - of course there is a zero
0
Don JohnstonInstructorCommented:
I locate the ios and add the ip address of the machine I am physically logged onto but it states 'sharing violation'
That sounds like a TFTP/OS error.  As in a windows sharing issue.
As for the "socket error", what IOS version are you currently running?  Please post the current config.
0
mikey250Author Commented:
as I have now removed the single ios I now have no ios installed.

yes I realise this sharing violation but not sure where to allow access other than the folder itself which I will give full access and check.
0
mikey250Author Commented:
after rebooting my c3550, it shows prompt by default:

switch: but not sure what to type I assume xmodem......
0
Don JohnstonInstructorCommented:
0
mikey250Author Commented:
hi don, I will come back to this later on today.  thanks for the link.
0
mikey250Author Commented:
hi don, ive now looked at the below link:

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

note: I am currently using 'tftp putty' but the following command is not working as I am not sure where to locate my ios:

switch: copy xmodem: flash:c3550................. - enter
begin the xmodem or xmodem-1k transfer now
cccccccccccxmodem: : I/o error
switch:
0
joinaunionCommented:
Your using the wrong switch command.
This should get you going in the right direction.
https://supportforums.cisco.com/blog/151336/loading-ios-switch-xmodem
0
Don JohnstonInstructorCommented:
switch: copy xmodem: flash:c3550................. - enter

You have to specify the exact file name with this command.
0
mikey250Author Commented:
hi, I have set baud rate to 57600 and I think it is currently downloading the ios as no error has come back so I will let you know.  appreciated.
0
mikey250Author Commented:
hi I am used to using 'hyperterminal' when configuring my equipment or set the tftp path when copying 'ios'.

i have attempted to use the following:

- putty - i can configure the switch as normal but not sure how to link to the ios when uploaded to my switch
- tftpd32.333 - i can locate the path to my 'ios' - but not sure how to access a command line to the switch
- pumpkin-2.7.2 - i can locate the path to my 'ios' - but not sure how to access a command line to the switch

qns1.  can anyone show me how  ?
0
mikey250Author Commented:
i have been trying to upload my ios as i am in 'switch:' mode but cannot seem to be able to see how i do it using any of the 3 'tftp' mentioned earlier and even with 'google'  !!
0
mikey250Author Commented:
as i have no access to the switch and no ip address configured so i cannot even ping between both the server and my switch i assume that is the reason why i cannot upload my ios via:

- pumpkin
- tftpd32.333

as for 'putty' i assume:

switch: set baud rate 57600
switch: copy xmodem: flash:c3550-i5q312-mz.121-22.EA2.bin................. - enter
 begin the xmodem or xmodem-1k transfer now
 cccccccccccxmodem: : I/o error
 switch:

or

switch: set baud rate 11500
switch: copy xmodem: flash:c3550................. - enter
 begin the xmodem or xmodem-1k transfer now
 cccccccccccxmodem: : I/o error
 switch:
0
Don JohnstonInstructorCommented:
Is the file on your computer in the correct upload directory for the terminal program you are using?

Are you absolutely certain that the filename you are typing is correct?
0
mikey250Author Commented:
yes ive followed youtube instructions for:

putty:

set baud 115200

accesses putty options and changed baud from 9600 to 115200

copy xmodem: flash:c3550-i5q312-mz.121-22.EA2.bin

or

copy xmodem: flash:c3550-i5q3l1-mz.121-22.EA2.bin  - the (312 looks like 3l2) but i have tried both and it appears to be (i5q312 not i5q3l1)

same error

----------------------

pumpkin:

step 1

i have now reset switch and done the following using 'pumpkin'

i have put 'ios' in specific folder ie:
c:\program files\klever\nothings

read request behaviour:

- ticked box for 'give all files'

write request behaviour:
- ticked box for - 'take all files'

step 2

then opened putty command prompt:

set baud 115200

step 3

opened putty options and changed baud from 9600 to 115200


step  4

pumpkin options:
clicked ok to save

step 5

opened command prompt:

copy xmodem: flash:c3550-i5q312-mz.121-22.EA2.bin
begin the xmodem or xmodem-1k transfer now
 cccccccccc

after 10 mins no 'i/o error ' showing but no  cccccccc.................. just as above just some cccccccccccc - so i am not sure if it is copying my ios to c3550
0
mikey250Author Commented:
after completing the previous thread the 'pumpkin' screen shows:

writing of c3550-i5q312-mz.121-22.ea2.bin of type octet is requested by 192.168.0.254
transfer of c3550-i5q312-mz.121-22.ea2.bin has successfully completed
transfer of c3550-i5q312-mz.121-22.ea2.bin has successfully completed
0
Don JohnstonInstructorCommented:
Did you read the instructions in the posted link?

Specifically the part that says:

The Xmodem file transfer begins. This transfer can take up to 2 hours, which depends on the size of the image.

CCCCCCC.........................................................................
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
.............................................................................
File "xmodem:" successfully copied to "flash:c2955-i6q4l2-mz.121-13.EA1.bin"

Open in new window

0
mikey250Author Commented:
yes i did read that upto 2 hrs, as i have used 'xmodem command before', but only used with 'hyperterminal'

however i was expecting to see:

cccccccc................................ etc

but i only see:

cccccccccccc - so not sure if it has hung
0
joinaunionCommented:
Did you issue a show version command?
This will let you know if it was successful.
0
mikey250Author Commented:
hi, i have let the above carryon for at least 4 hrs and as the keyboard would not respond as it appeared to still be copying the ios - or so i thought.

i decided to close the 'putty' and reopen but it went back to:

switch:

i have now rebooted the switch and same prompt:

switch:

so i am not sure
0
joinaunionCommented:
switch#show version

If it is showing the version your happy with then issue  switch#reload

Go here scroll down to Xmodem Upgrade procedure. This is for 2900-3500 series.
http://www.cisco.com/c/en/us/support/docs/switches/catalyst-2900-xl-series-switches/5106-36.html
0
mikey250Author Commented:
as the xmodem appeared to hang, it would not allow me to  type: reload, so I rebooted my cisco 2950, currently I am uploading my ios via an xp machine I installed, just so I could use hyperterminal which is currently working and via xmodem.

once this is complete I wish to return back to knowing how to upload my my ios via:

- putty
- pumpkin
- tftpd32.333

my understanding is the following are to locate the ios  ?

- pumpkin
or
- tftpd32.333

my understanding it the following is to specifically use the cisco 2950 command prompt to manually configure the switch  ?

- putty
0
mikey250Author Commented:
hi I have uploaded my ios to my 3550 via my xp/hyperterminal successfully.  although not sure why the pumpking or tftp32.333 did not upload the ios.
0
mikey250Author Commented:
hi i apologise for not returning to this thread, please do not delete as i will return.
0
mikey250Author Commented:
appreciated!!
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Switches / Hubs

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.