Posted By: | jclarke |
Posted Date: | Jul 11, 2008 |
Category: | Capacity Planning |
Version: | 1.0 |
License: | Cisco-Style BSD |
Summary: | Send syslog notifications when the DHCP server database changes. |
Script Modified Date: | Jul 11, 2008 |
Cisco IOS Version tested: | 12.4T 12.2(44)SE |
Cisco Products Tested: | 7206 3560 |
Environment Variables used: | dhcp_file_pattern |
Rating Count: | 0 |
Average Rating: | 0 |
File Size: | 2.1 KB |
Script Info URL: | |
This EEM timer policy runs every 60 seconds, and checks the DHCP serber database on the device for changes. If a change is found (either a lease as been given out or reclaimed) that change is sent as a syslog message. The dhcp_file_pattern environment variable must point to a fully-qualified flash file name in which the DHCP lease data will be stored across invocations of the policy (e.g. flash:dhcp_data).