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

DHCP bindings database...Error

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

1 Accepted Solution

Accepted Solutions

cadet alain
VIP Alumni
VIP Alumni

Hi,

Try ip ftp source-interface command.

Regards.

Alain.

Don't forget to rate helpful posts.

Don't forget to rate helpful posts.

View solution in original post

2 Replies 2

cadet alain
VIP Alumni
VIP Alumni

Hi,

Try ip ftp source-interface command.

Regards.

Alain.

Don't forget to rate helpful posts.

Don't forget to rate helpful posts.

hi cadet alain ,

Thanks for your reply. It worked fine for me .

Thanks

Review Cisco Networking products for a $25 gift card