Cisco – logging dhcp leases to syslog server on cisco router

ciscodhcp

Is there any way of a cisco router acting as a dhcp server to record the leases of its clients to a syslog server?

I'm currently using the DHCP server database agent feature to record the leases to a file through a ftp server.

Best Answer

debug ip dhcp server events
logging trap debugging

oughta do it.

yes, there may be unintended consequences if you enable other debugging while troubleshooting some other problem (for instance).

see also: how to make debugging settings persist across a router reboot

Related Topic