____________________________________________________________________________________ 
____________________________________________________________________________________ 
96    VoIP subscriber gateways 
6 AUTOPROVISIONING PROCEDURE OPERATION ALGORITHM VIA DHCP  
If the packet exchange is performed trough DHCP the device checks DHCP reply messages for existence of 
Option  43  (Vendor-Specific  Info).  If  'DHCP  options'  value  is  detected;  server  URL,  firmware  file  names  and 
configurations will be extracted from DHCP Option 43. After that, the reboot process will be start by using the 
received information. If DHCP option is not detected the device searching Option 66 (TFTP server) and 67 (Boot 
file name). If the searching is successful, firmware and configuration files will be loaded from specified server.  
 
Format of option 43 (Vendor-Specific Info): 
 
1|<acs_url>|2|<pcode>|3|<username>|4|<password>|5|<server_url>|6|<config.file>|7|<firmware.file>|8|<vlan_tag> 
 
  1 – TR-069 autoconfiguration server address code; 
  2 – ‘Provisioning code’ parameter specification code; 
  3 – code of the username for TR-069 server authorization; 
  4 – code of the password for TR-069 server authorization; 
  5 – server address code; server address URL should be specified in the following format: tftp://address 
or  http://address.  The  first  version  represents  TFTP  server  address,  the  second  version—HTTP  server 
address; 
  6 – configuration file name code; 
  7 – firmware file name code; 
  8 – VLAN tag code for management. 
  "|" – mandatory separator used between codes and suboption values. 
Autoconfiguration procedure algorithm: 
1.  DHCP exchange initialization 
Device initializes DHCP exchange after the startup.  
2.  Option 43 analysis  
When Option 43 is received, Suboption 8 is analyzed (vlan tag); 
–  Suboption exists and differs from current VLAN tag (DHCP exchange is initiated in new VLAN); 
–  Suboption  is  absent  or  present  and  does  not  differ  from  the  current  VLAN  tag:  first  of  all,  option  is 
checked for presence of suboptions with 1, 2, 3 and 4 codes. If these suboptions are present, the device stops 
the analysis of the other options and establishes connection to ACS server to apply autoconfiguration via TR-069 
protocol.  If these  options are  absent, suboptions with 5,  6 and  7  codes will  be  analyzed  to  determine URL  of 
server,  configuration  file  names  and  firmware.  If  suboption  6  and  7  are  absent,  the  configuration  update 
procedure and software are not performed.  
3.  Analysis of 66 and 67 options  
If  43  Option  from  DHCP  server  is  not  received,  client  searches  for  Option  66  and  extracts  TFTP  server 
address. If Option 66 was received with Option 67, the firmware name will be extracted from Option 67. If 67 
Option is not received, both the firmware file name and configuration file will be extracted from configuration 
(these parameters are displayed on the WEB-interface’s page in the ‘Firmware file name’’ fields (for Option 66 
analysis)  of  the  ‘System/Autoconfiguration  and  Configuration  file  name’  menu). If  these  fields  are  empty,  the 
attempt to load the files will be performed:  
MAC_ADDRESS.cfg 
MAC_ADDRESS.fw 
Where MAC_ADDRESS is MAC address of the device WAN interface written by uppercase letters after dot 
‘.’ (for example, A8.F9.4B.02.20.9A.cfg and A8.F9.4B.02.20.9A.fw).