cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
6677
Views
0
Helpful
2
Replies

CW tftp failure

georgeef1
Level 1
Level 1

Hi,

When attempting tftp backup from certain devices the transfer fails with

a permission denied.

I've got 420 devices that can tftp config backups to the ciscoworks

server without issue. Three sequentially-numbered devices cannot. Below is the result of a

tftp test from a failing device, as well as a packet capture from the ciscoworks server.

ML-3560B#copy flash tftp

Source filename [/c3560-ipbase-mz.122-35.SE5/]? c3560-ipbase-mz.122-35.SE5.bin

Address or name of remote host []? 172.16.6.20

Destination filename [c3560-ipbase-mz.122-35.SE5.bin]? test.bin

TFTP: error code 2 received - 16739

%Error opening tftp://172.16.6.20/test.bin (Permission denied)

ML-3560B#show ip int br

Interface IP-Address OK? Method Status Protocol

Vlan1 10.193.1.131 YES NVRAM up up

No.

Time

Source

Destination

Protocol

Info

1

0

10.193.1.131

172.16.6.20

TFTP

Write Request, File: test.bin\000, Transfer type: octet\000

2

0.001376

172.16.6.20

10.193.1.131

TFTP

Error Code, Code: Access violation, Message: Access violation\000

- please suggest !

2 Replies 2

Joe Clarke
Cisco Employee
Cisco Employee

In order for TFTP to work, the file has to exist on the server first.

So, create an empty file in NMSROOT\tftpboot, and give casuser full control over the file. For example, create an empty test.bin in tftpboot. Then try your experiment.

Waqar-M
Level 1
Level 1

Had the same problem while using tftpd64 with c7200.

In my case, uninstalling the tftp server (also removing the default path folder), and reinstalling worked!

It has happened a couple of times, now, and reinstallation is the only thing that worked for me both times.