Version 7.0 721 Mediant 3000
User's Manual 46. Automatic Provisioning
Notes:
• For ini file downloads, by default, parameters not included in the file are set to
defaults. To retain the current settings of these parameters, set the
SetDefaultOnINIFileProcess parameter to 0.
• If you have configured one-time software file (.cmp) download (configured by the
ini file parameter CmpFileURL), the device will only apply the file if one-time
software updates are enabled. This is disabled by default to prevent unintentional
software upgrades. To enable one-time software upgrades, set the ini file
parameter AutoUpdateCmpFile to 1.
• If you need to update the device's software and configuration, it is recommended
to first update the software. This is because the current ("old") software (before the
upgrade) may not be compatible with the new configuration. However, if both files
are available for download on the provisioning server(s), the device first
downloads and applies the new configuration, and only then does it download and
install the new software. Therefore, this is a very important issue to take into
consideration.
46.2.7 Cyclic Redundancy Check on Downloaded Configuration Files
You can enable the device to perform cyclic redundancy checks (CRC) on downloaded
configuration files (ini) during the Automatic Update process. The CRC checks whether the
content (raw data) of the downloaded file is different to the content of the previously
downloaded file from the previous Automatic Update process. The device compares the
CRC check value (code) result with the check value of the previously downloaded file. If
the check values are identical, it indicates that the file has no new configuration settings,
and the device discards the file. If the check values are different, it indicates that the
downloaded file is different (i.e., includes updates), and the device installs the downloaded
file and applies the new configuration settings.
CRC is useful, for example, when the service provider replaces a file, on the provisioning
server, with another file whose contents are the same. When the device sends an HTTP
Get request during the Automatic Update process, the provisioning server sends the new
file to the device. This occurs as the timestamp between the previously downloaded file
and this new file is different (determined by the HTTP If-Modified-Since header in the Get
request). Therefore, the CRC feature can be used to prevent the device from installing
such files.
For enabling CRC, use the ini file parameter AUPDCheckIfIniChanged. By default, CRC is
disabled. For more information on the parameter, see ''Automatic Update Parameters'' on
page 840.
46.2.8 MAC Address Placeholder in Configuration File Name
You can configure the file name of the configuration file (ini) in the URL to automatically
include the MAC address of the device. As described in ''File Location for Automatic
Update'' on page 716, the file name is included in the configured URL of the provisioning
server where the file is located.
Including the MAC address in the file name is useful if you want the device to download a
file that is unique to the device. This feature is typically implemented in mass provisioning
of devices where each device downloads a specific configuration file. In such a setup, the
provisioning server stores configuration files per device, where each file includes the MAC
address of a specific device in its file name.