Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question
up vote 2 down vote accepted
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

share|improve this answer
Also I've also tried that debug but problem was with the reloads. The link you posted suggests using Event Manager Applet. Unfortunately my current IOS doesn't support 'action'. – Colin Apr 14 '10 at 17:34
Sure, but did you read the comment on that blog article? It suggests a hacky workaround if you don't have EEM. – Cos Apr 14 '10 at 22:47

It seems that the only way to get them in IOS would be to turn on DHCP debugging, which can't be done as part of the boot configuration.

Any reason you can't use ISC DHCPD on a running server and have the cisco act as a DHCP relay?

share|improve this answer
I know I could use another DHCPD server but in this particular case I have to use the cisco. Thanks for the suggestion though. – Colin Apr 14 '10 at 10:39

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.