![Cisco SPA1112 Скачать руководство пользователя страница 50](http://html.mh-extra.com/html/cisco/spa1112/spa1112_provisioning-manual_63552050.webp)
Provisioning Examples
Basic Resync
Provisioning Guide for Cisco SPA100 and SPA200 Series Analog Telephone Adapters
50
4
STEP 7
Power cycle the ATA to force it to resync to the provisioning server.
If the resync operation fails for any reason, such as if the server is not responding,
the unit waits the number of seconds configured in Resync_Error_Retry_Delay
before attempting to resync again. If Resync_Error_Retry_Delay is zero, the ATA
does not try to resync after a failed resync attempt.
STEP 8
(Optional) Set the value of Resync_Error_Retry_Delay is set to a small number,
such as
30
:
<Resync_Error_Retry_Delay ua="na">30</Resync_Error_Retry_Delay>
STEP 9
Disable the TFTP server, and observe the results in the syslog output.
Unique Profiles, Macro Expansion, and HTTP
In a deployment where each ATA must be configured with distinct values for some
parameters, such as User_ID or Display_Name, the service provider can create a
unique profile for each deployed device and host those profiles on a provisioning
server. Each ATA, in turn, must be configured to resync to its own profile according
a predetermined profile naming convention.
The profile URL syntax can include identifying information specific to each ATA,
such as MAC address or serial number, by using the macro expansion of built-in
variables. Macro expansion eliminates the need to specify these values in multiple
locations within each profile.
A profile rule undergoes macro expansion before being applied to the ATA. The
macro expansion controls a number of values, for example:
•
$MA expands to the unit 12-digit MAC address (using lower case hex digits).
For example, 000e08abcdef.
•
$SN expands to the unit serial number. For example, 88012BA01234.
Other values can be macro expanded in this way, including all the general purpose
parameters, (GPP_A through GPP_P). An example of this process can be seen in
the
TFTP Resync
section. Macro expansion is not limited to the URL file name, but
can also be applied to any portion of the profile rule parameter. These parameters
are referenced as $A through $P. For a complete list of variables available for
macro expansion, see the
“Macro Expansion Variables” section on page 77
.
In this exercise, a profile specific to an ATA is provisioned on a TFTP server.