01-08-2009 03:39 AM - edited 03-04-2019 03:22 AM
hi,
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,
thanking you,
som
01-08-2009 03:44 AM
Hi Somesh,
Are they the same Model ?
DAK
01-08-2009 03:52 AM
Check their memory and capacity
01-08-2009 04:13 AM
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
01-08-2009 04:31 AM
Somesh
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.
HTH
Rick
01-08-2009 04:38 AM
hi rick,
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.
01-08-2009 04:45 AM
Somesh
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.
HTH
Rick
01-08-2009 05:12 AM
hi Rick,
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]?
Accessing tftp://10.9.9.1/flash:/tftp/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:
TFTP#
*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
TFTP#
the output of my flash memory:
TFTP#sh flash
-#- --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.
01-08-2009 05:22 AM
01-08-2009 08:16 AM
Somesh,
Make sure you have the following commands in your TFTP server router config.
tftp-server flash:tftp/switch1-confg
and
tftp-server flash:tftp/i1-routerx-4-6-end
If this doesn't help please post the TFTP server router's config.
HTH,
Mark
Also: here a guide that may help.
01-08-2009 10:24 PM
hi mark,
i have already configured those commands on my router,
01-08-2009 06:31 AM
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.
HTH
DAK
01-08-2009 08:12 AM
Somesh
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.
HTH
Rick
01-08-2009 10:31 PM
hello rick,
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)
AR2#
error notification on my tftp server:
TFTP(config)#
*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
TFTP(config)#
01-09-2009 12:28 AM
Hi Somesh
do you check for capacity flash?
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide