happy new year every one,
i have a bunch of 2811 routers in my lab, and i am trying make one of my 2811 router to act as a tftp server, i have copied the required files and enable tftp on the flash but i am not able to copy the files to my other routers using tftp,
any help will be vreatly appreciated,
yes all of them are same series router and the memory space is more than enough, when i try to do it says source file r dirctory not found but where as it exists in the tftp.
after trying different options i found its copying 1 file from the same directory but not the other file
and you please help me how to write back to the tftp it says access denied
What files are you attempting to copy using the router as the tftp server? The implementation of tftp in IOS is not a full function tftp server. It will copy image files and config files but not other types of files (at least that was true the last time I tested it).
I am not clear what you mean when you say:"help me how to write back to the tftp it says access denied". Perhaps you can clarify what is the issue and then perhaps we can make better suggestions about it.
i am trying to establish a topology where i can copy the configuration files from the tftp server to the existing routers my topology and vice versa i.e. copying the routers configuration to the tftp.
You have described the problem in general terms. Perhaps you could post the specifics of how you have configured the router as tftp server, and specifics of the commands you are using to try to copy the files, and specifics of the error messages. If we had that perhaps we could understand what is the problem.
i have attached my lab topology, i am trying to copy the configuration from access routers and switches to my tftp server, i can ping the tftp server. the error is:
AR2#copy tftp: flash:
Address or name of remote host [10.9.9.1]?
Source filename [tftp/i1-routerx-4-6-end]? flash:/tftp/i1-routerx-4-6-end
Destination filename [i1-routerx-4-6-end]?
%Error opening tftp://10.9.9.1/flash:/tftp/i1-routerx-4-6-end (No such file or directory)
on the tftp router i get the following notification:
*Jan 8 11:11:12.990: TFTP: Server request for port 50264, socket_id 0x44F4F384 for process 33
*Jan 8 11:11:12.990: TFTP: read request from host 10.9.9.3(50264) via FastEthernet0/0.38
*Jan 8 11:11:12.990: TFTP: Looking for tftp/i1-routerx-4-6-end
*Jan 8 11:11:12.990: TFTP: Sending error 1 No such file
*Jan 8 11:11:26.930: TFTP: Server request for port 53004, socket_id 0x44F4F384 for process 33
*Jan 8 11:11:26.930: TFTP: read request from host 10.9.9.3(53004) via FastEthernet0/0.38
*Jan 8 11:11:26.930: TFTP: Looking for flash:/tftp/i1-routerx-4-6-end
*Jan 8 11:11:26.930: TFTP: Sending error 1 No such file
the output of my flash memory:
-#- --length-- -----date/time------ path
1 38154344 Jan 5 2009 06:38:48 +00:00 c2800nm-advipservicesk9-mz.124-23.bin
2 0 Jan 8 2009 08:57:38 +00:00 tftp
3 1562 Jan 8 2009 09:12:28 +00:00 tftp/switch1-confg
4 869 Jan 8 2009 10:26:14 +00:00 tftp/i1-routerx-4-6-end
25845760 bytes available (38170624 bytes used)
i am able to copy switch1-config to my devices but not the i1-routerx-4.....
and same way i cannot copy any file to the tftp from my devices.
Make sure you have the following commands in your TFTP server router config.
If this doesn't help please post the TFTP server router's config.
Also: here a guide that may help.
It seems source file and destination file are the same.
Since this is lab topology, i think you can connect them directly and let them be in the same network.
I believe that you are running into the restriction that I mentioned in my original post. The implementation of TFTP in IOS is limited. It will process copy of image files and config files, but not other file types. I suggest that you rename this file: tftp/i1-routerx-4-6-end and name it tftp/i1-routerx-4-6-confg and try the copy with the new name. Give it a try and let us know the results.
yes what u said was correct the tftp server on IOS is limited it worked after i changed the file name to tftp/i1-routerx-4-6-end-confg.
its working when i copy from tftp to my routers but even now i cannot copy vice versa, i.e. cannot copy the router AR2 config to the tftp server it says permission denied.
the output at router ar2:
AR2#copy run tftp
Address or name of remote host ? 10.9.9.1
Destination filename [ar2-confg]?
TFTP: error code 2 received - 16739
%Error opening tftp://10.9.9.1/ar2-confg (Permission denied)
error notification on my tftp server:
*Jan 9 06:31:08.185: TFTP: Server request for port 53074, socket_id 0x44F4F384 for process 33
*Jan 9 06:31:08.185: TFTP: write request from host 10.9.9.3(53074) via FastEthernet0/0.38
*Jan 9 06:31:08.185: TFTP: Sending error 2 Access denied
I am glad that you are making progress in getting the TFTP to work and in understanding the limitations of the implementation of TFTP in IOS. I believe that it will be easier to accomplish what you are trying to do if you get some device other than your router to function as your TFTP server. There are many implementations of TFTP that could work for you and some of them are free software.
i thank you very much for all your help, i am planning to get a seperate device to act as a tftp server, but for the timebeing may be for 2 - 3 months i have to make it work with the router,
still on ething is not cleared,
can't i write back to the tftp server.