Skip to main content

configuring a Tftp server on cisco router

More
18 years 11 months ago #12046 by gleeb
i need to configure a Tftp server on a cisco router. someo0ne please help me out with it...
its a 2500 series.
thank you.
More
18 years 11 months ago #12049 by DaLight
Welcome to firewall.cx, gleeb. Check out this thread .
More
18 years 11 months ago #12050 by gleeb
Replied by gleeb on topic thank you.
but i ment more of making the cisco router the Tftp server.
so i can upload configuration files to it. and download from it....
where the configuration files would be stored in flash.

i hear theres no way to do it... it works only for downloading files not for uploading... if you want to make another file that can be downloaded from your router you ither need to transfer it fro a real tftp server or download it from another router...

correct me if i am wrong.
:wink:
More
18 years 10 months ago #12130 by tiamat
You may be able to allow tftp uploading to a flash partition that is in read/write mode, but since a 2500's max flash is only 16 megs, and you'd probably have to partition it into two 8 meg chunks, you'd have to be running some really old IOS just to be able to fit it in 8 megs. Perhaps I'll try it on my router if I get some spare time. (wouldn't ya know it, I just re-imaged my router from two 8 meg partitions to a single 16 meg not long ago)
More
18 years 10 months ago #12133 by tiamat
ok, so I had some spare time.... ;) it doesn't look like it's possible. I've got my 2514 setup with two 8 meg flash partitions, IOS on partition 1 (obviously) but I can only seem to serve images to other tftp clients.

I've tried as many iterations of this global config command as possible:
tftp-server flash:2:

and even though that partition is in read/write, I just get an access denied message when I try to do PUTs to the router:

client:

Transfering file (whatever file I choose) to server in octet mode...
Packet will be sent. len=52, opcode=2
Packet received. len=18, opcode=5
Error occurred during the file transfer (Error code = 2):
Access denied

router:
(with tftp packet debugging on)

TFTP: Server request for port 2753, socket_id 0x17B3A8
TFTP: write request from host 172.x.x.x(2753) via Ethernet0
TFTP: Sending error 2 Access denied
Time to create page: 0.134 seconds