Cisco Systems OL-27172-01 Mobility Aid User Manual


 
5-24
Cisco Broadband Access Center 3.8 Administrator Guide
OL-27172-01
Chapter 5 Configuration Templates Management
Using the Configuration Utility
If the template uses VAR() constructs to reference a device property, use the device option to generate a
sample template.
Step 4 After all tests succeed, configure a Class of Service to use the template.
Validating XML Syntax for a Local Template File
Use the runCfgUtil.sh command to validate template files stored on the local file system.
Syntax Description
runCfgUtil.sh -cwmp -a sc -l file
-cwmp—Identifies the input file to be processed as a CWMP template file.
-a sc—Specifies a syntax check.
-l—Specifies that the input file is on the local file system.
file—Identifies the input template file being validated.
To use a template file that is on the local file system:
Step 1 Change directory to /opt/CSCObac/rdu/samples/cwmp.
Step 2 Select a template file to use.
Note This example uses an existing template file called sample-cwmp-config.xml. The -cwmp option
is used because this is a CWMP template.Run the configuration utility by using this command:
/opt/CSCObac/rdu/bin/runCfgUtil.sh -cwmp -a sc -l sample-cwmp-config.xml
-cwmp—Identifies the input file as a CWMP template file.
-l—Specifies that the input file is on the local file system.
sample-cwmp-config.xml—Identifies the input template file being validated.
After running the utility, results similar to these should appear:
Broadband Access Center Configuration Utility
Version: 3.0, Revision: 1.26
validating configuration template sample-cwmp-config.xml...
>sample-cwmp-config.xml is valid.
Validating XML Syntax for a Template Stored in Cisco BAC
Use the runCfgUtil.sh command to validate template files that are in the RDU database.
Syntax Description
runCfgUtil.sh -cwmp -a sc -r file -u username -p password