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: |
[ 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 ]
# 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): |
AutoUpdateFreqencySeconds = 1440
# configure system
(config-system)# automatic update
automatic-update)# update-frequency 1440
|
a.
|
Automatic Update of software file (.cmp): |
AutoCmpFileUrl = 'https://www.company.com/sw.cmp'
# configure system
(config-system)# automatic update
(auto-update)# auto-firmware 'http://www.company.com/sw.cmp'
|
a.
|
Automatic Update of Call Progress Tone file: |
CptFileURL = 'https://www.company.com/call_progress.dat'
# 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:
|
IniFileURL = 'https://www.company.com/config.ini'
# configure system
(config-system)# automatic update
(auto-update)# voice-configuration 'http://www.company.com/config.ini'
|
a.
|
Enable Cyclical Redundancy Check (CRC) on downloaded ini file: |
AUPDCheckIfIniChanged = 1
# configure system
(config-system)# automatic update
(auto-update)# crc-check regular
|
4.
|
Power down and then power up the device. |