Cisco Systems OL-27172-01 Mobility Aid User Manual


 
5-26
Cisco Broadband Access Center 3.8 Administrator Guide
OL-27172-01
Chapter 5 Configuration Templates Management
Using the Configuration Utility
Step 3 Run the configuration utility by using this command:
./opt/CSCObac/rdu/bin/runCfgUtil.sh -cwmp -a gc -l sample-cwmp-config.xml -o output.xml
sample-cwmp-config.xml—Identifies the input file.
output.xml—Identifies the file in which to save the processed template in XML format.
After running the utility, results similar to these should appear:
Broadband Access Center Configuration Utility
Version: 3.0, Revision: 1.26
generating configuration from sample-cwmp-config.xml...
output.xml generated successfully.
You can view the configuration from the output.xml file.
Testing Template Processing for a Template Stored in Cisco BAC
Use the runCfgUtil.sh command to test the template processing for a template in the RDU database.
Syntax Description
runCfgUtil.sh -cwmp -a gc -r file -o file -u username -p password
-cwmp—Identifies the input file to be processed as a CWMP template file.
-a gc—Specifies instructions for configuration generation.
-r file—Identifies the input file as a file that has been added to the RDU.
-o file—Specifies that the processed template be saved in XML format into the specified file.
-u username—Specifies the username to use when connecting to the RDU.
-p password—Specifies the password to use when connecting to the RDU.
To test the template processing for a template stored in Cisco BAC:
Step 1 Change directory to /opt/CSCObac/rdu/samples/cwmp.
Step 2 Select a template file to use. This example uses the existing template file, sample-cwmp-config.xml.
Step 3 Run the configuration utility by using this command:
./runCfgUtil.sh -cwmp -a sc -r sample-cwmp-config.xml -o output.xml -u admin -p changeme
sample-cwmp-config.xml—Identifies the input file.
output.xml—Identifies the file in which the generated configuration is to be saved in XML format.
After running the utility, results similar to these should appear:
Broadband Access Center Configuration Utility
Version: 3.0, Revision: 1.26
generating configuration from sample-cwmp-config.xml...
output.xml generated successfully.
You can view the configuration from the output.xml file.