07-18-2012 03:47 AM - edited 03-04-2019 05:00 PM
hi all ,
It is required to upload currently dhcp issued ip's to the remote ftp server. Because of this , I did the following configurations on my router.
ip dhcp database ftp://testuser:testuser@<ftp-server-ip>/router-dhcp write-delay 120
Once I issue the 'sh ip dhcp database' command obtained the following output.
URL : ftp://testuser:testuser@<ftp-server-ip>/router-dhcp
Read : Never
Written : Never
Status : Last write failed because of a protocol error.
Delay : 120 seconds
Timeout : 300 seconds
Failures : 30
Successes: 0
I cannot figure out what is the reason for this. But I can assure my ftp server working fine and the ftpuser can write data to the particular directory. I have tow interfaces in my router. Because of this I need to provide souce interface as my LAN IP. How can define it during this command. For a example in syslog messages i defined the "logging source fa 0/0" command.
your responses are higly welcome in order to solve this.
Thanks
Solved! Go to Solution.
07-18-2012 04:06 AM
Hi,
Try ip ftp source-interface command.
Regards.
Alain.
Don't forget to rate helpful posts.
07-18-2012 04:06 AM
Hi,
Try ip ftp source-interface command.
Regards.
Alain.
Don't forget to rate helpful posts.
07-18-2012 07:53 PM
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