![Cisco SPA1112 Provisioning Manual Download Page 51](http://html.mh-extra.com/html/cisco/spa1112/spa1112_provisioning-manual_63552051.webp)
Provisioning Examples
Basic Resync
Provisioning Guide for Cisco SPA100 and SPA200 Series Analog Telephone Adapters
51
4
Exercise
STEP 1
Obtain the MAC address of the ATA from its product label. (The MAC address is
the number, using numbers and lower–case hex digits, such as 000e08aabbcc.
STEP 2
Copy the
basic.txt
configuration file (described in the
TFTP Resync
exercise)
to a new file named
spa_
macaddress
.cfg
(replacing
macaddress
with the
MAC address of the ATA). For example:
spa_000e08abcdef.cfg
STEP 3
Move the new file in the virtual root directory of the TFTP server.
STEP 4
Open the admin/advanced page Provisioning tab.
STEP 5
Enter
tftp://192.168.1.200/spa$MA.cfg
in the Profile_Rule parameter:
<Profile_Rule ua="na">
tftp://192.168.1.200/spa$MA.cfg
</Profile_Rule>
STEP 6
Click
Submit All Changes
. This causes an immediate reboot and resync.
When the next resync occurs, the ATA retrieves the new file by expanding the
$MA macro expression into its MAC address.
HTTP GET Resync
HTTP provides a more reliable resync mechanism than TFTP because HTTP
establishes a TCP connection and TFTP uses the less reliable UDP. In addition,
HTTP servers offer improved filtering and logging features compared to TFTP
servers.
On the client side, the ATA does not require any special configuration setting on
the server to be able to resync by using HTTP. The Profile_Rule parameter syntax
for using HTTP with the GET method is similar to the syntax used for TFTP. If a
standard web browser can retrieve a profile from a your HTTP server, the ATA
should be able to do so as well.
Exercise
STEP 1
Install an HTTP server on the local PC or other accessible host. (The open source
Apache server can be downloaded from the Internet.)
STEP 2
Copy the
basic.txt
configuration profile (described in the
TFTP Resync
exercise) onto the virtual root directory of the installed server.