cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
299172
Views
48
Helpful
22
Replies

Copying from tftp to flash

onyema101
Level 1
Level 1

Hi am having trouble copying file c3560-ipservicesk9-mz.150-1.SE from tftp server

to a new cisco catalyst c3560g switch, I installed the certificationkits tftp server on my local desktop and i  can ping the tftp server from the switch and vice versa, each time I run command on switch copy tftp flash  i keep getting no such file and i am sure i have copied the file to the default folder of the tftp server. I need some one to help me out and tell what am doing wrong.

22 Replies 22

JohnTylerPearce
Level 7
Level 7

Can you reply with the exact syntax you are using and what is the full file path to the image?


Sent from Cisco Technical Support Android App

The full path to the image is :

C:\TFTP-Storage

syntax used:

switch# copy tftp flash

    remote host: 192.x.x.x

  source filename :

c3560-ipservicesk9-mz.150-1.SE

destination filename: i  press enter

error message:

Accessing tftp://192.168.3.47/c3560-ipservicesk9-mz.150-1.SE...

%Error opening tftp://192.168.3.47/c3560-ipservicesk9-mz.150-1.SE (Timed out)

Hi Willson,

Check your root (tftp folder), if it's correct.

Ping your host from switch, disable your windows firewall.

Check the full ios name: c3560-ipservicesk9-mz.150-1.SE.bin

copy tftp://192.168.3.47/c3560-ipservicesk9-mz.150-1.SE.bin flash:

Regards.

192.168.3.47

Hi 

 I tried number of times to copy tftp to flash. I assigned PC IP as static IP and tried ping from SW, it gave me 0/5 success message. Do I need to assign GW ip? what are the other options? Please reply ASAP.

 

thanks

Andy

Andy

 

You picked a very old discussion to adopt (and one that did not have a successful resolution). It would have been more effective if you had started a fresh discussion. But since you did it this way here are some questions that you need to answer if we are to be able to assist you. What is the IP of the switch? What is the IP of the PC? What else is configured on the switch? (are there vlans? are there vlan interfaces?). It might help if you would post the output of these commands from the switch:

show interface status

show ip interface brief

show ip route

 

HTH

 

Rick

HTH

Rick

source tftp interface by any chance?

Ex:

 

ip tftp source-interface GigabitEthernet0 <<<

 

check your windows firewall

wenqiz1989
Level 1
Level 1

1. make a folder in your PC name tftp-root in your C: drive,

2. put your file in there,

3. bind  your PC IP to your tftp server.

Otherwise the switch will not be able to find the tftp server.

If all fail, you can copy Xmoden the file to your switch through your console cable.  It will take quite some time depence on how big the file is. 

I am having difficulty in the original post detecting whether the file loaded to the PC is a bin file for which copy tftp: flash: is the appropriate method or whether it is the tar or archive file for which archive download-sw is the appropriate method.

Perhaps the original poster can provide some clarification.

HTH

Rick

HTH

Rick

Hi The flash version loaded to the pc doesnt have a .bin extension, and i have tried copy tftp flash

I get the no such file in the dir.

Hi tried xmodem see below;

Switch#copy xmodem: flash:c3560-ipservicesk9-mz.150-1.SE.bin

Destination filename [c3560-ipservicesk9-mz.150-1.SE.bin]?

Begin the Xmodem or Xmodem-1K transfer now...

CCCCCCCCCC

%Error opening xmodem: (I/O error)

ALIAOF_
Level 6
Level 6

I believe when you are specifying the file name, "c3560-ipservicesk9-mz.150-1.SE", you need to add the extension in there as well like this, "c3560-ipservicesk9-mz.150-1.SE.bin" where ".bin" is the extension.

I have tried adding .bin no joy.

Leo Laohoo
Hall of Fame
Hall of Fame
Hi am having trouble copying file c3560-ipservicesk9-mz.150-1.SE from tftp server

What is the EXACT model is your 3560?  Not all models support IOS from 12.2(58)SE and 15.0.  This is because the older models only have 16 mb flash and, if this is your case, then the "highest" IOS version you can use is 12.2(55)SE.

If your appliance has 32 mb flash, then post the entire copy-tftp process.  I want to see the COMPLETE error message and your syntax.