[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

how to use xmodem 3550 putty tftp

Posted on 2014-08-17
46
Medium Priority
?
1,076 Views
Last Modified: 2016-03-04
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
0
Comment
Question by:mikey250
  • 29
  • 13
  • 4
46 Comments
 
LVL 16

Accepted Solution

by:
joinaunion earned 1004 total points
ID: 40266526
0
 
LVL 50

Assisted Solution

by:Don Johnston
Don Johnston earned 996 total points
ID: 40266556
The c2955-i6q4l2-mz.121-13.EA1.bin is for a 2955.  You can't run that on a 3550.
0
 

Author Comment

by:mikey250
ID: 40281923
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
Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 

Author Comment

by:mikey250
ID: 40281931
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
 

Author Comment

by:mikey250
ID: 40282797
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
 
LVL 50

Expert Comment

by:Don Johnston
ID: 40282833
The file name is case sensitive.
0
 

Author Comment

by:mikey250
ID: 40282845
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
 
LVL 50

Expert Comment

by:Don Johnston
ID: 40282858
Please post the output of a "show version" and a "show flash" (or "dir flash").
0
 

Author Comment

by:mikey250
ID: 40283018
hi don, ive attached screenshot.
3550-flash-screenshot.docx
0
 
LVL 50

Expert Comment

by:Don Johnston
ID: 40283184
try using "delete c3550-i5q312-mz.121-22.EA2.bin".

Also issue a "pwd" and post the output.
0
 

Author Comment

by:mikey250
ID: 40283377
hi don,

yes I did try that also but got exact same error.
0
 
LVL 50

Expert Comment

by:Don Johnston
ID: 40283732
Also issue a "pwd" and post the output.
0
 

Author Comment

by:mikey250
ID: 40285173
morning don, what do you mean "pwd"  ?
0
 

Author Comment

by:mikey250
ID: 40285237
hi don,  ive have just ran command: "pwd" - & it shows the exact same files and ios as "dir flash:".
0
 
LVL 50

Expert Comment

by:Don Johnston
ID: 40285860
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
 

Author Comment

by:mikey250
ID: 40294305
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
 
LVL 50

Expert Comment

by:Don Johnston
ID: 40294451
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
 

Author Comment

by:mikey250
ID: 40294478
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
 

Author Comment

by:mikey250
ID: 40294480
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
 
LVL 50

Expert Comment

by:Don Johnston
ID: 40294488
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
 

Author Comment

by:mikey250
ID: 40294518
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
 

Author Comment

by:mikey250
ID: 40294539
oh yeh when I type: c3550 - of course there is a zero
0
 
LVL 50

Expert Comment

by:Don Johnston
ID: 40294555
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
 

Author Comment

by:mikey250
ID: 40294560
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
 

Author Comment

by:mikey250
ID: 40294569
after rebooting my c3550, it shows prompt by default:

switch: but not sure what to type I assume xmodem......
0
 
LVL 50

Expert Comment

by:Don Johnston
ID: 40294590
0
 

Author Comment

by:mikey250
ID: 40307256
hi don, I will come back to this later on today.  thanks for the link.
0
 

Author Comment

by:mikey250
ID: 40308429
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
 
LVL 16

Assisted Solution

by:joinaunion
joinaunion earned 1004 total points
ID: 40310720
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
 
LVL 50

Assisted Solution

by:Don Johnston
Don Johnston earned 996 total points
ID: 40310794
switch: copy xmodem: flash:c3550................. - enter

You have to specify the exact file name with this command.
0
 

Author Comment

by:mikey250
ID: 40312164
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
 

Author Comment

by:mikey250
ID: 40313836
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
 

Author Comment

by:mikey250
ID: 40314251
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
 

Author Comment

by:mikey250
ID: 40314261
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
 
LVL 50

Assisted Solution

by:Don Johnston
Don Johnston earned 996 total points
ID: 40314369
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
 

Author Comment

by:mikey250
ID: 40314427
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
 

Author Comment

by:mikey250
ID: 40314472
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
 
LVL 50

Assisted Solution

by:Don Johnston
Don Johnston earned 996 total points
ID: 40314475
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
 

Author Comment

by:mikey250
ID: 40314499
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
 
LVL 16

Assisted Solution

by:joinaunion
joinaunion earned 1004 total points
ID: 40315345
Did you issue a show version command?
This will let you know if it was successful.
0
 

Author Comment

by:mikey250
ID: 40315357
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
 
LVL 16

Assisted Solution

by:joinaunion
joinaunion earned 1004 total points
ID: 40315421
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
 

Author Comment

by:mikey250
ID: 40320822
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
 

Author Comment

by:mikey250
ID: 40361302
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
 

Author Comment

by:mikey250
ID: 40848832
hi i apologise for not returning to this thread, please do not delete as i will return.
0
 

Author Closing Comment

by:mikey250
ID: 41492426
appreciated!!
0

Featured Post

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I see many questions here on Experts Exchange regarding switch port configurations and trunks. This article is meant for beginners in the subject to help to get basic knowledge about Virtual Local Area Network (VLAN (http://en.wikipedia.org/wiki/Vir…
In this article, the configuration steps in Zabbix to monitor devices via SNMP will be discussed with some real examples on Cisco Router/Switch, Catalyst Switch, NAS Synology device.
Integration Management Part 2
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
Suggested Courses

834 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question