cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
9607
Views
0
Helpful
10
Replies

Using copy flash: tftp: on cat3850

mhiyoshi
Level 3
Level 3

Hello

Normally I would like to use "copy flash tftp" command on catalyst3850.

However if the following message shows then what should I do?

*The TFTP server has enough memory space.

switch#copy flash:cat3k_caa-universalk9.SPA.03.03.02.SE.150-1.EZ2.bin tftp:
Address or name of remote host []? 10.1.1.100
Destination filename [cat3k_caa-universalk9.SPA.03.03.02.SE.150-1.EZ2.bin]?
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!.....
%Error writing tftp://10.1.1.100/cat3k_caa-universalk9.SPA.03.03.02.SE.150-1.EZ2.bin (Timed out).....
switch#

Best Regards,

Masanobu Hiyoshi

 

10 Replies 10

Richard Burts
Hall of Fame
Hall of Fame

Masanobu Hiyoshi

 

Something disrupted the tftp transfer. Here are some questions and suggestions that I hope will help.

- is this a temporary issue or does it happen consistently? If you try the transfer again, does it fail again?

- if it does fail again, does it fail at the same place (about the same number of ! before the ... start)?

- can you look on the tftp server and see if there are any logs on the server which might identify what was wrong with the transfer?

- do you know the size of the file that you were transfering? (post the output of show flash would be a good way to get the file size) Some tftp servers have problems as the file size gets large.

- you might consider trying to transfer with ftp rather than tftp. ftp is more efficient for large files than tftp.

 

HTH

 

Rick

HTH

Rick

Hello Leo-san & Rick-san

Thank you very much for your precious support.

Well, I gradually undestand it is TFTP client issue. I am using traditionally 3Cdaemon by uploading and downloading the IOS, so I would like to use TFTP but now it is IOS-XE so I have changed the method of this to FTP. I tried it and it was successful like the following output.


switch#copy flash: ftp:
Source filename [cat3k_caa-universalk9.SPA.03.03.02.SE.150-1.EZ2.bin]?
Address or name of remote host []? 10.1.1.100
Destination filename [cat3k_caa-universalk9.SPA.03.03.02.SE.150-1.EZ2.bin]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!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
257243236 bytes copied in 50.080 secs (5136646 bytes/sec)

Thank you very much again.

Best Regards,

Masanobu Hiyoshi

 

Hello

This URL is the example of the TFTP transfer from TFTP server to Cisco Device,  I think this case is

[Field Notice: Cisco IOS TFTP Client Cannot Transfer Files Larger than 16MB in Size]
http://www.cisco.com/c/en/us/support/docs/field-notices/100/fn13026.html

Cisco device is TFTP client for downloading the IOS image, so direction is reverse for this discussion, however according to this information, the large file defines larger than 16M Bytes. So I would like to refer to this information when the same situation happens.

Best Regards,

Masanobu Hiyoshi

switch1#show flash: -#- --length-- ---------date/time--------- path 2 2097152 Jul 05 2017 10:55:05.0000000000 +00:00 nvram_config 3 83293932 May 12 2017 15:28:32.0000000000 +00:00 cat3k_caa-base.SPA.03.06.06E.pkg 4 3982012 May 12 2017 15:28:33.0000000000 +00:00 cat3k_caa-drivers.SPA.03.06.06E.pkg 5 33788908 May 12 2017 15:28:32.0000000000 +00:00 cat3k_caa-infra.SPA.03.06.06E.pkg 6 43074880 May 12 2017 15:28:32.0000000000 +00:00 cat3k_caa-iosd-universalk9.SPA.152-2.E6.pkg 7 28394380 May 12 2017 15:28:32.0000000000 +00:00 cat3k_caa-platform.SPA.03.06.06E.pkg 8 111233856 May 12 2017 15:28:33.0000000000 +00:00 cat3k_caa-wcm.SPA.10.2.160.0.pkg 9 1236 May 12 2017 15:28:46.0000000000 +00:00 packages.conf 10 4096 May 12 2017 15:48:17.0000000000 +00:00 dc_profile_dir 11 193087 May 12 2017 15:48:17.0000000000 +00:00 dc_profile_dir/dc_default_profiles.txt 12 616 Jul 04 2017 07:28:39.0000000000 +00:00 vlan.dat 1230716928 bytes available (308858880 bytes used) which is the IOS that i can use to download and upload to another device

which is the IOS that i can use to download and upload to another device

The BIN file.

but there is no any bin file

Can you go to the Cisco website and download the BIN file from there?

Masanobu Hiyoshi

 

Thank you for the update letting us know that using FTP did successfully transfer the image. As Leo suggests there are some versions of TFTP servers that can work with larger file sizes and perhaps tftpd32 would have been able to handle the file transfer. But as I mentioned in my first response FTP is more efficient in transfering large files than TFTP so it may be best to use FTP for your backup.

 

HTH

 

Rick

HTH

Rick

Leo Laohoo
Hall of Fame
Hall of Fame
  1. Use TFTPd32.  Some TFTP clients don't like large files.  
  2. Why are you "backing up" your IOS this way?  Not reliable.  The most reliable method is to go to the Cisco website and download the IOS.  Once you've finished downloading the IOS, please be mindful to compare the MD5 hash value of the file you've just downloaded against the MD5 hash value found in the Cisco website.  Comparing the MD5 hash value is the best method of determining that the file you've finished downloading is not corrupt.  
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:

Review Cisco Networking products for a $25 gift card