Knowledge Base ISC Main Website Ask a Question/Contact ISC
Adding support for "on commit", "on expire", and "on release" statements in DHCPv6
Author: Brian Conry Reference Number: AA-01094 Views: 10447 Created: 2014-01-21 13:56 Last Updated: 2017-08-31 15:28 0 Rating/ Voters


How do I make use of the new on_commit, on_expiry, on_release statements for DHCPv6?


These statements function in DHCPv6 pretty much the same as they do in DHCPv4, allowing you to specify actions to be taken when the matching event happens to the lease.  They can be placed in any valid scope, such as the global scope or subnet statements.

# Global instances, should be used if we don't have anything better
on commit { log(info, concat("global commit: ", option dhcp6.client-id)); }
on expiry { log(info, concat("global expiry: ", option dhcp6.client-id)); }
on release { log(info, concat("global release: "
, option dhcp6.client-id)); }

© 2001-2018 Internet Systems Consortium

For assistance with problems and questions for which you have not been able to find an answer in our Knowledge Base, we recommend searching our community mailing list archives and/or posting your question there (you will need to register there first for your posts to be accepted). The bind-users and the dhcp-users lists particularly have a long-standing and active membership.

ISC relies on the financial support of the community to fund the development of its open source software products. If you would like to support future product evolution and maintenance as well having peace of mind knowing that our team of experts are poised to provide you with individual technical assistance whenever you call upon them, then please consider our Professional Subscription Support services - details can be found on our main website.

  • There is no feedback for this article
Quick Jump Menu