Documente Academic
Documente Profesional
Documente Cultură
This section describes how to set up TR-069 communication between OpenRG and a third-party
Auto-Configuration Server (ACS) server.
A LAN computer
Ethernet cables
TR-069 is a WAN management protocol intended for communication between Customer Premise Equipment
(CPE) and an Auto-Configuration Server (ACS). It defines a mechanism that encompasses secure auto
configuration of a CPE, and also incorporates other CPE management functions into a common framework.
In simpler terms, TR-069 is a protocol that enables remote server management of a CPE running OpenRG
(see Figure 3.210). Such a protocol is useful, for example, for remotely and securely controlling OpenRG by
the CPE provider.
1 of 6 1/7/2009 6:16 PM
3.14. TR-069 WAN Management Protocol http://www.jungo.com/openrg/doc/4.8/evaluation_guide/html/html_eval...
TR-069 refers to an ACS as the server on the ISP side. In the following example, the third-party ACS server
is the Dimark Provisioning Server (DPS). This ACS allows you to send arbitrary RPC commands to OpenRG
and watch OpenRG response.
1. Start DPS.
2. Browse to http://dps:8080/dps .
Model ID
Serial number
This information can be viewed in the DPS Web-based management, in the "Devices That Have Been
Detected" table (see Figure 3.211).
3. At the bottom of the device's page, press the "Delete CPE Information From the DPS Database" link.
The connection between OpenRG and the ACS server can only be initiated by OpenRG. OpenRG connects to
DPS in the following cases:
Upon boot.
When commanded from CLI with the following command: cwmp session_start .
When a connection request is received. A connection request is done by any authenticated HTTP
request made to the OpenRG connection request URL. The connection request URL can be viewed in
the DPS Web-based management as follows:
2 of 6 1/7/2009 6:16 PM
3.14. TR-069 WAN Management Protocol http://www.jungo.com/openrg/doc/4.8/evaluation_guide/html/html_eval...
Periodically, when set. OpenRG can be configured to connect to DPS periodically, either by setting the
relevant TR-069 parameters on DPS, or by setting OpenRG's configuration entries.
For the complete list of supported TR-069 parameters, please refer to the 'TR-069
Parameters' chapter in the Programmer's Guide.
cwmp/username, cwmp/password The username and password used for connecting to the ACS. Since
Dimark's DPS does not support this yet, it may be left in this example with the default values. Default
rg_factory value is cpe (for both).
cwmp/conn_req_username, cwmp/conn_req_password The username and password used for
authenticating ACS during a connection request. Default rg_factory value is acs (for both).
Configuring DPS to get OpenRG's parameters is performed by calling the GetParametersValue method.
1. In the left column of the DPS Web-based management, select "Configuration Specific Polling".
2. Click the "Create a New Parameter to be Polled For This Configuration" link.
8. Verify that under "Device Statistics" you have an entry of the parameter used, with the correct value.
3 of 6 1/7/2009 6:16 PM
3.14. TR-069 WAN Management Protocol http://www.jungo.com/openrg/doc/4.8/evaluation_guide/html/html_eval...
Configuring DPS to set OpenRG's parameters is performed by calling the SetParametersValue method.
2. In the left column of the DPS Web-based management, under "General CPE Configuration", select
"Create a New Configuration Parameter".
3. Click the "Create a New Configuration Parameter" link and fill in the following fields:
Name: InternetGatewayDevice.DeviceInfo.ProvisioningCode
Value: newProvCode
Type: String(64)
Required: Yes
Read Only: No
The TR-069 protocol can be used to perform remote tasks by the ACS on the CPE. Following are DPS
configuration examples for performing such tasks. The first demonstrates the set parameters capability, by
changing OpenRG's DHCP settings from afar. The second illustrates the ability to induce OpenRG to perform a
remote update, by downloading a new software image or configuration file.
In order to configure DPS to set OpenRG's DHCP settings, it is necessary to obtain the respective parameter
name, as listed in DPS when OpenRG connects. This is the DHCPServerEnable parameter, which is device-
specific, and can be found in the "Device Parameters as Reported by CPE" list under the device entry.
3. When OpenRG loads again, verify that its IP Address Distribution is set to DHCP Server (see
Figure 3.213). To do so, browse to OpenRG's Web-based management, and:
4 of 6 1/7/2009 6:16 PM
3.14. TR-069 WAN Management Protocol http://www.jungo.com/openrg/doc/4.8/evaluation_guide/html/html_eval...
4. In the left column of the DPS Web-based management, under "General CPE Configuration", select
"Create a New Configuration Parameter".
5. Click the "Create a New Configuration Parameter" link and fill in the following fields:
Name: InternetGatewayDevice.LANDevice.1. LANHostConfigManagement.DHCPServerEnable
Value: 0
Type: Boolean
Required: Yes
Read Only: No
6. Reconnect OpenRG to the WAN, and initiate (or wait for) a connection.
The setting change should occur as soon as the connection between OpenRG and DPS is established. Verify
this change by browsing to OpenRG's LAN Configuration screen, as depicted above.
The remote update feature described in Section 3.11 can also be initiated by an ACS. A CPE provider can
automatically update all its clients with newer software images or configuration files the next time they
restart their OpenRG. To configure DPS to remotely update OpenRG:
1. Delete OpenRG's entry as described above.
Target Name: any value may be used as this is not used in OpenRG.
The following entry should appear in "The Last 20 CPE Log Entries" section: 7 TRANSFER COMPLETE.
If an OpenRG image was downloaded - in "CPE Parameters Reported on Inform" section, the
InternetGatewayDevice.DeviceInfo.SoftwareVersion parameter should contain the new version.
If an OpenRG configuration file had been downloaded, other configuration parameters may need to be
5 of 6 1/7/2009 6:16 PM
3.14. TR-069 WAN Management Protocol http://www.jungo.com/openrg/doc/4.8/evaluation_guide/html/html_eval...
checked.
6 of 6 1/7/2009 6:16 PM