Cisco Cisco Broadband Access Center Telco Wireless 3.7

Page of 267
 
8-2
Cisco Broadband Access Center for Cable Administrator’s Guide
OL-2445-02
Chapter 8      Broadband Access Center for Cable Support Tools and Advanced Concepts
Developing Template Files
MTA device provisioning specifications
SNMP MIBs for cable devices (for example, DOCS-CABLE-DEVICE-MIB)
Template Grammar
A template is comprised of four different types of statements:
Comments allow you to document your templates. Includes allow you to create building block templates 
to be used in other templates. Options allow you to specify the DOCSIS or PacketCable type length value 
(TLV) in a descriptive manner. 
 describes the available template grammar options.
Comments
Comments provide information only and are always located between the pound (#) symbol and the end 
of a line. 
 shows example comment usage.
Example 8-1
Example Comment Usage
#
# Template for gold service
#
option 3 1 # enabling network access
Table 8-1
Template Grammar
Option
Description
<comment>
::= #[ascii-string] 
<include>
::= include "<filename.tmpl>"
<option-description>
::= option <option-num> [instance <instance-num>] <option-value>
<option-num>
::= <unsigned-byte>[.<unsigned-byte>]*
<option-value>
::= <well-defined-value> | <custom-value>
<well-defined-value>
::= <option-value-string>[,<option-value-string>]*
<custom-value>
::= <ascii-value> | <hex-value> | <ip-value>
<ascii-value>
::= ascii <ascii-string>
<hex-value>
::= hex <hex-string>
<ip-value>
::= ip <ip-string>
<instance-num>
::= <unsigned integer>
<template>
::= <template-statement>*
<template-statement>
::= <comment> | <include> | <option-description>