template-url
This command configures the URL address of the provisioning server on which the file types, specified in the file template using the template-files-list command are located for download during the Automatic Update process. For more information on file templates, refer to the User's Manual.
Syntax
(config-system)# automatic-update (auto-update)# template-url <URL>/<File Name <FILE>>
Command |
Description |
|
---|---|---|
<URL> |
Defines the URL address of the provisioning server (HTTP/S, FTP, or TFTP). |
|
File Name <FILE> |
Defines the file name using the <FILE> placeholder. The placeholder is replaced by the following hard-coded strings, depending on file type as configured by the template-files-list command: |
|
File Type (template-files-list) |
Hard-coded String |
|
ini |
device.ini |
|
init |
deviceTemplate.ini |
|
cli |
cliScript.txt |
|
clis |
cliStartupScript.txt |
|
acmp |
autoFirmware.cmp |
|
vp |
vp.dat |
|
usrinf |
userInfo.txt |
|
cmp |
firmware.cmp |
|
fk |
fk.ini |
|
cpt |
cpt.dat |
|
prt |
prt.dat |
|
cas |
cas.dat |
|
dpln |
dialPlan.dat |
|
amd |
amd.dat |
|
sslp |
pkey.pem |
|
sslr |
root.pem |
|
sslc |
cert.pem |
Command Mode
Privileged User
Related Commands
template-files-list
Example
Specifying the URL of an HTTP server at 10.8.8.20 from which the files specified in the file template can be downloaded:
#(config-system)# automatic-update (auto-update)# template-url http://10.8.8.20/Site1_<FILE>
If the template file list is configured as follows:
(auto-update)# template-files-list ini,fk,cpt
the device sends HTTP requests to the following URLs:
■ | http://10.8.8.20/Site1_device.ini |
■ | http://10.8.8.20/Site1_fk.ini |
■ | http://10.8.8.20/Site1_cpt.data |