Automatic Update for Single Device

This simple example describes how to configure the Automatic Update feature for updating a single device. In this example, the device queries the provisioning server for software, configuration and Auxiliary files every 24 hours.

To set up Automatic Provisioning for single device (example):
1. Set up an HTTP Web server (e.g., http://www.company.com) and place all the required configuration files on this server.
2. Configure the device with the IP address of the DNS server for resolving the domain name (e.g., http://www.company.com) that is used in the URL of the provisioning server. You configure this in the IP Interfaces table:
ini File:
[ InterfaceTable ]
FORMAT Index = ApplicationTypes, InterfaceMode, IPAddress, PrefixLength, Gateway, VlanID, InterfaceName, PrimaryDNSServerIPAddress, SecondaryDNSServerIPAddress, UnderlyingDevice;InterfaceTable 0 = 6, 10, 10.15.7.95, 16, 10.15.0.1, 1, "Voice", 80.179.52.100, 0.0.0.0, "vlan 1";
[ \InterfaceTable ]        
CLI:
# configure network
(config-network)# interface network-if 0
(network-if-0)# primary-dns 80.179.52.100        
3. Configure the device with the following Automatic Update settings:
a. Automatic Update is done every 24 hours (1440 minutes):
ini File:
AutoUpdateFreqencySeconds = 1440
CLI:
# configure system
(config-system)# automatic update
automatic-update)# update-frequency 1440
a. Automatic Update of software file (.cmp):
ini File:
AutoCmpFileUrl =  'https://www.company.com/sw.cmp'
CLI:
# configure system
(config-system)# automatic update
(auto-update)# auto-firmware 'http://www.company.com/sw.cmp'        
a. Automatic Update of Call Progress Tone file:
ini File:
CptFileURL = 'https://www.company.com/call_progress.dat'
CLI:
# configure system
(config-system)# automatic update
(auto-update)# call-progress-tones 'http://www.company.com/call_progress.dat'        
a. Automatic Update of ini configuration file:
ini File:
IniFileURL = 'https://www.company.com/config.ini'
CLI:
# configure system
(config-system)# automatic update
(auto-update)# ini-file 'http://www.company.com/config.ini'
a. Enable Cyclical Redundancy Check (CRC) on downloaded ini file:
ini File:
AUPDCheckIfIniChanged = 1
CLI:
# configure system
(config-system)# automatic update
(auto-update)# crc-check regular        
4. Power down and then power up the device.