cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
624
Views
10
Helpful
1
Replies

Making debugging persistent (DHCP)

mmedwid
Level 3
Level 3

By running "debug ip dhcp server events" at enable mode - the DHCPD binding information was able to be sent to the syslog server. That's exactly when I wanted to have happen. But the problem is that if the DHCP router reboots I would need to execute that same debugging line else lose my DHCP assignment/binding logging. Is there any way to make such debugging persistent (still in effect even after reboot?) Or is there another means of having a DHCP enabled router send bindings out via syslog?

Jul 10 16:26:37 10.1.6.5 36: 35w3d: DHCPD: assigned IP address 10.1.6.253 to

client 0100.1128.aff4.77.

1 Reply 1

paolo bevilacqua
Hall of Fame
Hall of Fame

Hi,

I think what you want can be done with "database agent":

ip dhcp database url [timeout seconds | write-delay seconds]

This way you will have always your bindings in a text file into an host.

If that's not enough, you can use Radius accounting for all DHCP transactions:

http://www.cisco.com/en/US/products/ps6441/products_configuration_guide_chapter09186a008071c33f.html

I don't think there is an easy way to enable debug commands automatically at boot.

Hope this helps, please rate post if it does!

Review Cisco Networking products for a $25 gift card