![Cisco SPA1112 Скачать руководство пользователя страница 22](http://html.mh-extra.com/html/cisco/spa1112/spa1112_provisioning-manual_63552022.webp)
Creating XML Provisioning Scripts
Applying a Profile to the ATA
Provisioning Guide for Cisco SPA100 and SPA200 Series Analog Telephone Adapters
22
2
Preencrypting configuration profiles offline with symmetric key encryption allows
the use of HTTP for resyncing profiles. The provisioning server uses HTTPS to
handle initial provisioning of the ATA after deployment. This feature reduces the
load on the HTTPS server in large scale deployments.
The final file name does not need to follow a specific format, but it is conventional
to end the name with the .cfg extension to indicate that it is a configuration profile.
Applying a Profile to the ATA
After you create an XML configuration script, it must be passed to the ATA for
application. To apply the configuration, choose one of the following methods:
TFTP and the Resync URL
Complete the following steps to post the configuration file to a TFTP server
application on your PC.
STEP 1
Connect your PC to the ATA LAN.
STEP 2
Run a TFTP server application on the PC and make sure that the configuration file
is available in the TFTP root directory.
STEP 3
In a web browser, and enter the LAN IP address of the ATA, the IP address of the
computer, the filename, and the login credentials, in this format:
http://
<WAN_IP_Address>
/admin/resync?tftp://
<PC_IP_Address>
/
<file_name>
&
xuser=admin&xpassword=
<password>
Example:
http://192.168.15.1/admin/resync?tftp://192.168.15.100/my_config.xml&xuser=
admin&xpassword=admin
Direct HTTP Post using cURL
Complete the following steps to post the configuration to the ATA by using cURL.
This command line tool is used to transfer data with a URL syntax. To download
cURL, see:
http://curl.haxx.se/download.html