Cisco Cisco Broadband Access Center Telco Wireless 3.5

다운로드
페이지 267
 
8-4
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
IP address—IP address type encodes any given value as 4 octets. For example, the IP address 
10.10.10.1 
is encoded as 
0A0A0A01
.
Use a comma to separate multi valued options on a given line. Each value is treated as such, so you might 
have to double quote one of the values, but not the others. A good example of a multi valued option is 
Option 11 (SNMP Varbind). See the 
 for additional 
information.
When specifying compound options, there is no need to specify the top level option (for example option 
4 when specifying option 4.1). Examples 
 and 
 illustrate both correct and incorrect usage of the 
option statement.
Example 8-4
Correct Option Statement Usage
# Valid, specifying the number for well known option 3 
option 3 1
# Valid, specifying the number for option 4 sub-option 1
option 4.1 1
# Valid, specifying a vendor option as hex
option 43.200 hex 00000C
Note
Enter the custom option in hexidecimal format, without separators such as in 00000C. Unlike 
that shown in 
, the use of separators, such as in 00-00-0C would be incorrect in this 
instance.
# Valid, specifying a vendor option as ascii
option 43.201 ascii "enable log"
# Valid, specifying a vendor option as IP
option 43.202 ip 10.4.2.1
Example 8-5
Incorrect Option Statement Usage
# Invalid, using hex with incorrect hex separator
option 43.200 hex 00.00.0C
# Invalid, not using double quotes when needed
option 43.201 ascii enable log
# Invalid, not specifying IP address correctly
option 43.202 ip 10-10-10-1
# Invalid, specifying the description for option "Network Access Control"
option "Network Access Control" 1
# Invalid, specifying top level option
option 4