Cisco Cisco Broadband Access Center Telco Wireless 3.7

Page of 267
 
8-18
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
Specifying a Device for Macro Variables
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 a device for macro 
variables:
runCfgUtil.sh -l <file> -i <MAC> -u <username> -p <password>
Where:
-l—specifies the input file is on the local file system
<file>—identifies the input template file being parsed
-i—specifies the device to use when parsing macro variables
<MAC>—identifies the MAC address of the device
-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 specify a device to be used for macro variable substitution:
Step 1
Change directory to /opt/CSCObpr/rdu/samples/templates. 
Step 2
Select a template file to use. This example will use the existing template file, macro.tmpl. 
Step 3
Identify the macro variables in the template. In this example, the macro variables are macro1 (option 3) 
and macro11 (option 4.2). 
Step 4
Identify the device to use. This example will assume that the device exists in the RDU and has the macro 
variables set as properties. The value for macro1 will be set to 1, and the value for macro11 to 64000.
Step 5
Run the configuration file utility using this command: 
runCfgUtil.sh -l macro.tmpl -i "1,6,00:01:02:03:04:05" -u admin -p changeme
Where:
macro.tmpl—Identifies the input file.
1,6,00:01:02:03:04:05—Identifies the MAC address of the device. The MAC address used here is 
for example purposes only.
admin—Identifies the default username being used in this example.
 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 854 ms.
The parser initialization time was 76 ms.
The parser parse time was 778 ms.