Version 7.2 835 Mediant 1000B Gateway & E-SBC
User's Manual 47. Automatic Provisioning
(automatic-update)# feature-key http://www.company.com/License_Key.txt
(automatic-update)# auto-firmware http://www.company.com/SIP_F7.00A.008.cmp
Note: For configuration files (ini), the file name in the URL can automatically contain
the device's MAC address for enabling the device to download a file unique to the
device. For more information, see ''MAC Address P;aceholder in Configuration File
Name'' on page 835.
47.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 834, 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 MAC address placeholder 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
(automatic-update)# startup-script
https://company.com/files/startup_<MAC>.txt
The device automatically replaces the string with its hardware MAC address, resulting in a
file name request that contains the device's MAC address, for example,
config_00908F033512.ini or startup_00908F033512.txt. Therefore, you can configure all
the devices with the same URL and file name.
Note: If you write the MAC address placeholder string in lower case (i.e., "<mac>"),
the device adds the MAC address in lower case to the file name (e.g.,
config_<mac>.ini results in config_00908f053736e); if in upper case (i.e., "<MAC>"),
the device adds the MAC address in upper case to the file name (e.g.,
config_<MAC>.ini results in config_00908F053736E).
47.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.