Cisco Systems OL-27172-01 Mobility Aid User Manual


 
5-13
Cisco Broadband Access Center 3.8 Administrator Guide
OL-27172-01
Chapter 5 Configuration Templates Management
Features of Cisco BAC Templates
For detailed information on PeriodicInformInterval, see the Broadband Forum’s Technical Report on
TR-069.
You can initiate a firmware upgrade in a similar fashion. Firmware upgrades are typically carried out
only within a specific time range. After defining a firmware rule template with the MaintenanceWindow
option set, associate the firmware rule template to a Class of Service object by using the administrator
user interface.
After you finish this task, the firmware rule is pushed to the DPE. The DPE evaluates the firmware rule
and ensures that the firmware upgrade is executed during the specific time.
Configuring Prerequisites
This section illustrates how to configure the prerequisite option.
Example 5-5 Configuring Prerequisites - Maintenance Window
In this example, the prerequisite indicates that this template will come into effect at 1 a.m. for a duration
of 5 hours. During this time, this template can be applied to any device that contacts Cisco BAC and has
an
EventCode of 1 BOOT and the manufacturer as Acme, Inc.
Example 5-6 Prerequisite Using Expression
<Prerequisites>
<MaintenanceWindow>
<StartTime>01:00:00</StartTime>
<Duration>5:00</Duration>
</MaintenanceWindow>
<Expression>
<InformParameterName>InternetGatewayDevice.DeviceInfo.EventCode</InformParameterName>
<Value>1 BOOT</Value>
<Operator>match</Operator>
</Expression>
<Expression>
<ParameterName>InternetGatewayDevice.DeviceInfo.Manufacturer</ParameterName>
<Value>Acme, Inc</Value>
<Operator>matchIgnoreCase</Operator>
</Expression>
</Prerequisites>
Example 5-7 Prerequisite Using Regular Expression (Regex)
<Prerequisites>
<MaintenanceWindow>
<StartTime>01:00:00</StartTime>
<Duration>5:00</Duration>
</MaintenanceWindow>
<Expression>
<InformParameterName>Inform.EventCode</InformParameterName>
<Value>^[0-9]\s\w</Value>
<Operator>regexMatch</Operator>
</Expression>
</Prerequisites>