Cyclic Redundancy Check On Downloaded Configuration Files; Mac Address Placeholder In Configuration File Name; File Template For Automatic Provisioning - AudioCodes Mediant 4000 SBC User Manual

Hide thumbs Also See for Mediant 4000 SBC:
Table of Contents

Advertisement

39.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 or CLI command,
configure system > automatic-update > crc-check regular. By default, CRC is disabled. For
more information on the parameter, see ''Automatic Update Parameters'' on page 711.

39.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 600, 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.
To support this feature, you need to include the case-sensitive string, "<MAC>" anywhere
in the configured file name of the URL, for example:
IniFileURL = 'https://www.company.com/config_<MAC>.ini'
The device automatically replaces the string with its hardware MAC address, resulting in a
file
name
config_00908F033512.ini. Therefore, you can configure all the devices with the same URL
and file name.

39.2.9 File Template for Automatic Provisioning

To facilitate automatic provisioning setup, you can use a single template to define the files
to download during automatic provisioning. The template uses special keywords to denote
the different file types to download and in the URL address of the provisioning server it
uses a placeholder for the file names which is replaced by hardcoded file names and
extensions according to file type, as described in more detail below.
User's Manual
request
that
contains
the
device's
MAC
606
Mediant 4000 SBC
address,
for
example,
Document #: LTRT-41730

Advertisement

Table of Contents
loading

Table of Contents