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: 7171 Created: 2014-01-21 13:56 Last Updated: 2014-01-21 17:19 0 Rating/ Voters

Question:

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

Answer:

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-2016 Internet Systems Consortium

Please help us to improve the content of our knowledge base by letting us know below how we can improve this article.

If you have a technical question or problem on which you'd like help, please don't submit it here as article feedback.

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.

Feedback
  • There is no feedback for this article
Info Submit Feedback on this Article
Nickname: Your Email: Subject: Comment:
Enter the code below:
Quick Jump Menu