Cisco Cisco Broadband Access Center for Cable 4.1

Page of 267
 
8-19
Cisco Broadband Access Center for Cable Administrator’s Guide
OL-2445-02
Chapter 8      Broadband Access Center for Cable Support Tools and Advanced Concepts
The Configuration File Utility
changeme—identifies the default password being used in this example
After running the utility, results similar to these should appear:
Specifying Output to a Binary File
Usage Guidelines
You use the runCfgUtil.sh command to specify a device for macro variables.
Syntax Description
You must use this syntax when using the unCfgUtil.sh command when specifying output to a binary file:
runCfgUtil.sh -l <input_file> -o <output_file>
Where:
-l—specifies the input file is on the local file system
<input_file>—identifies the input template file being parsed
-o—specifies that file name where the binary contents of the parsed template file are stored
<output_file>—specifies the output filename to be used
To specify the output from parsing a template to a binary file:
Step 1
Change directory to /opt/CSCObpr/rdu/samples/templates.
Step 2
Select a template file to use.
Step 3
Identify the name of the output file. This example will use unprov.cm.
# /opt/CSCObpr/rdu/bin/runCfgUtil.sh -l macro.tmpl -i "1,6,00:01:02:03:04:05" -u admin 
-p changeme
Broadband Provisioning Registrar Configuration Utility
Version: 2.5.1.5
Outputting binary contents
Off
File Bytes
Option
 Description
Value
0  
 030101      
 3      
Network Access Control
 On
3  
 041F       
 4       
Class of Service
5  
 010101      
 4.1     
Class ID
 1
8  
 02040000FA00
 4.2    
Maximum Downstream Rate
 64000 bits/sec
14 
 03040000FA00
 4.3
Maximum Upstream Rate
 64000 bits/sec
20 
 040101      
 4.4    
Upstream Channel Priority
 1
.......................................
0 error(s), 0 warning(s) detected. Parsing of macro.tmpl was successful.
The file macro.tmpl was parsed successfully in 823 ms.
The parser initialization time was 102 ms.
The parser parse time was 803 ms.