TR-069 CWMP Provisioning on ISC-DHCPD


Technical Report 069 (TR-069) is a technical specification of the Broadband Forum that defines an application layer protocol for remote management of customer-premises equipment (CPE) connected to an Internet Protocol (IP) network. TR-069 uses the CPE WAN Management Protocol (CWMP) which provides support functions for auto-configuration, software or firmware image management, software module management, status and performance managements, and diagnostics..

The TR-069 protocol allows DHCP servers to send one or more vendor-specific parameters to the client router. A CWMP configuration requires the following parameters for the URL to the auto-configuration server (ACS) for provisioning via ISC-DHCPD:

Example ACS URL

The option vendor-encapsulated-options must be specified as an encoded sequence of identical syntax with code, length and value field to the DHCP option.

Section: IETF rfc2132 – DHCP Options and BOOTP Vendor Extensions


For the conversion is the following bash script, which can run as follows ./url2hex

Save the code lines to a file url2hex and make them executable.

The length of the passed string is calculated and converted to the HEX value, the string itself is also converted to HEX, after which the values are hung together, starting from 0x01 for the value of the CWMP option for the ACS URL.

The output can then look like this:

The last two rows can be added in dhcpd.conf.


TR-069 Boadband Forum, art. “3.1 ACS Discovery”
RFC2132 – DHCP Options and BOOTP Vendor Extensions, art. “8.4. Vendor Specific Information”.

How useful was this post?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate this post.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?

Leave a Reply

Your email address will not be published. Required fields are marked *