Link to home
Start Free TrialLog in
Avatar of mikey250
mikey250

asked on

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
ASKER CERTIFIED SOLUTION
Avatar of joinaunion
joinaunion
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of mikey250
mikey250

ASKER

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
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  ?
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  ?
The file name is case sensitive.
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)
Please post the output of a "show version" and a "show flash" (or "dir flash").
hi don, ive attached screenshot.
3550-flash-screenshot.docx
try using "delete c3550-i5q312-mz.121-22.EA2.bin".

Also issue a "pwd" and post the output.
hi don,

yes I did try that also but got exact same error.
Also issue a "pwd" and post the output.
morning don, what do you mean "pwd"  ?
hi don,  ive have just ran command: "pwd" - & it shows the exact same files and ios as "dir flash:".
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.
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)
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.
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!!
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
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.
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)
oh yeh when I type: c3550 - of course there is a zero
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.
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.
after rebooting my c3550, it shows prompt by default:

switch: but not sure what to type I assume xmodem......
hi don, I will come back to this later on today.  thanks for the link.
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:
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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.
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  ?
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'  !!
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:
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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
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
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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
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.
hi i apologise for not returning to this thread, please do not delete as i will return.
appreciated!!