cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2763
Views
0
Helpful
7
Replies

Problem in using TFTP and FTP to Copy a file

lmanavalan
Level 1
Level 1

Hi,

i tried to copy the IOS code to the switch using TFTP but i got this result

Switch04#copy tftp: flash:

Address or name of remote host [10.66.65.23]?

Source filename [c3560-ipbasek9-mz.122-50.SE3.bin]?

Destination filename [c3560-ipbasek9-mz.122-50.SE3.bin]?

Accessing tftp://10.66.65.23/c3560-ipbasek9-mz.122-50.SE3.bin...

Loading c3560-ipbasek9-mz.122-50.SE3.bin from 10.66.65.23 (via Vlan1): !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

%Error reading tftp://10.66.65.23/c3560-ipbasek9-mz.122-50.SE3.bin (Transfer aborted)

so i tried copy the filw using FTP and the result i got is

Switch04#copy ftp://<public ip addr>/code/3560/c3560-ipbasek9-mz.122-50.SE3.bin flash:

Destination filename [c3560-ipbasek9-mz.122-50.SE3.bin]?

Accessing ftp://<public ip addr>/code/3560/c3560-ipbasek9-mz.122-50.SE3.bin...

Loading code/3560/c3560-ipbasek9-mz.122-50.SE3.bin !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!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!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

%Error reading ftp://<public ip addr>/code/3560/c3560-ipbasek9-mz.122-50.SE3.bin (Connection timed out)

What could be the issue and how can we overcome this

Tks

Logesh

7 Replies 7

Leo Laohoo
Hall of Fame
Hall of Fame

Try using TFTP32.

http://tftpd32.jounin.net/tftpd32_download.html

Hope this helps.

i cannot download and install anything new since the current TFTP runs on clients Desktop.

Run the application from YOUR desktop, perhaps?

What's the size of the IOS your trying to copy across? Is it >32mb? If so, then you really need TFTP32.

Mohamed Sobair
Level 7
Level 7

Hi,

Could you please make sure of the following:

1- The FTP and TFTP is accessible from the switch by performing normal ping before the upgrade.

2- Make sure the IOS in the correct Directory for successful upgrade.

3- Make sure Of the IOS exact destination name.

HTH

Mohamed

Problem solved

The old code (c3560-ipbasek9-mz.122-50.SE3.bin) was stored in a directory with the name c3560-ipbasek9-mz.122-35.SE3

I deleted this directory and i got lot of free space and then i loaded the file through tftp this time it didn't showed any error message.

Due to the limited memory space on the catalysts (like in your case) the tftp and as well the ftp transfer has been aborted.

Unfortionatly the switch does not tell you this directly.

Try using the

Switch#dir

command to check how much space is available. I always do so, especially when using xmodem transfers.

CU

Hi.

Try using the archive download-sw command instead of copy tftp: flash:

For that you'll need the .tar version instead of the .bin

Reason for using archive downlaod-sw command being that it will automatically remove older versions (or rather, it has options for doing the removal) and it will include the html files as well, which might come in handy if your customer at some time want to use web-based management fo the switch.

HTH

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: