I am setting up a DHCP scope on a Cisco 4500X. The DHCP will service new clients and provide a PXE boot set of options. Once built the client will access a Windows based DHCP service.
I understand that the minimum DHCP lease duration is 1 day (24 hrs?). My question is, how can I clear the DHCP leases on a more regular basis say every 4 hours allowing me to use a smaller network IP range for the build network?
Thanks in advance!
Glad to hear that worked.
It looks like the 4500X IOS-XE does include support for the kron command scheduler utility.
I've not used it personally but from the configuration guide, it looks like you should be able to do something like:
!<br />kron policy-list ClearBindings<br />cli clear ip dhcp binding<br />!<br />kron occurrence ClearDHCP in 04:00 recurring<br />policy-list ClearBindings<br />!
Let me know if it works for you.