![Cisco SPA1112 Скачать руководство пользователя страница 49](http://html.mh-extra.com/html/cisco/spa1112/spa1112_provisioning-manual_63552049.webp)
Provisioning Examples
Basic Resync
Provisioning Guide for Cisco SPA100 and SPA200 Series Analog Telephone Adapters
49
4
The contents of these messages can be configured by using the following
parameters:
•
Log_Resync_Request_Msg
•
Log_Resync_Success_Msg
•
Log_Resync_Failure_Msg.
If any of these parameters are cleared, the corresponding syslog message is not
generated.
Automatic Device Resync
A device can resync periodically to the provisioning server to ensure that any
profile changes made on the server are propagated to the endpoint device (as
opposed to sending an explicit resync request to the endpoint).
To cause the ATA to periodically resync to a server, a configuration profile URL is
defined by using the Profile_Rule parameter, and a resync period is defined by
using the Resync_Periodic parameter.
Exercise
STEP 1
Using a web browser, open the admin/advanced page Provisioning tab.
STEP 2
Define the Profile_Rule parameter. The example assumes a TFTP server IP
address of 192.168.1.200:
<Profile_Rule ua="na">tftp://192.168.1.200/basic.txt</Profile_Rule>
STEP 3
In the Resync_Periodic parameter enter a small value for testing, such as
30
seconds:
<Resync_Periodic ua="na">30</Resync_Periodic>
STEP 4
Click
Submit all Changes
.
With the new parameter settings, the ATA resyncs to the configuration file
specified by the URL twice a minute.
STEP 5
Observe the resulting messages in the syslog trace (as described in the
Logging
with syslog
section).
STEP 6
Ensure that the Resync_On_Reset parameter is set to
yes
:
<Resync_On_Reset ua="na">Yes</Resync_On_Reset>