Mac Address Placeholder In Configuration File Name; File Template For Automatic Provisioning - AudioCodes Mediant 800B User Manual

Gateway & e-sbc
Hide thumbs Also See for Mediant 800B:
Table of Contents

Advertisement

User's Manual

48.2.3 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 818, 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'
(automatic-update)# cli-script
https://company.com/files/cli_script_<MAC>.txt
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.

48.2.4 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.
Note:
Unlike the parameters that define specific URLs for Auxiliary files (e.g.,
CptFileURL), the file template feature always retains the URLs after each
automatic update process. Therefore, with the file template the device always
attempts to download the files upon each automatic update process.
If you configure a parameter used to define a URL for a specific file (e.g.,
CptFileURL), the settings of the TemplateUrl parameter is ignored for the specific
file type (e.g., CPT file).
Additional placeholders can be used in the file name in the URL, for example,
<MAC> for MAC address (see 'MAC Address Placeholder in Configuration File
Name' on page 819).
To use a file template for automatic provisioning:
1.
Define the file types to download by the file template, using the AupdFilesList
parameter. Use the keywords listed in the table below to specify each file type. For
example, to specify ini, Feature Key, and CPT files:
ini File:
AupdFilesList = 'ini', 'fk', 'cpt'
CLI:
Version 7.2
request
that
contains
the
device's
MAC
819
Mediant 800B Gateway & E-SBC
48. Automatic Provisioning
address,
for
example,

Advertisement

Table of Contents
loading

Table of Contents