
123
VoIP Subscriber Gateways
5
DHCP AUTOPROVISIONING OPERATION ALGORITHM
If the packet exchange is performed via 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.
Option 43 format (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 – autoconfiguration by TR-069 protocol server address code;
2 – Provisioning code suboption number;
3 – username for authorization on TR-069 server code;
4 – password for authorization on TR-069 server code;
5 – server address code; server address is specified in URL format: tftp://address or
http://address. In the first option, the address of the TFTP server is specified, in the second - HTTP;
6 – configuration file name code;
7 – firmware file name code;
8 – VLAN tag code for management.
'|' – mandatory separation symbol between codes and suboption values.
Autoconfiguration procedure algorithm:
1.
DHCP sharing initialization
After loading, the device initiates a DHCP sharing.
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
suboptions 6 and 7 are absent, the configuration update procedure and software
are not performed.