If the option keywords appear outside of 'interface' stanzas,
then they are considered global. Such options apply to all interfaces.
If the option keywords appear inside 'interface' stanzas, these options
apply only to that interface.
The options stanza follows this format:
option <keyword | option code>
option <keyword | option code> exec "exec string"
option <keyword | option code> { option specific parameters }
option <keyword | option code> { option specific parameters } exec "exec string"
An option code can be specified using the IANA registered
option code. However, some of the options can also be specified using
keywords shown below:
Keyword |
Option Code |
ia-na |
3 |
ia-ta |
4 |
request-option |
6 |
rapid-commit |
14 |
user-class |
15 |
vendor-class |
16 |
vendor-opts |
17 |
reconf-accept |
20 |
dns-servers |
23 |
domain-list |
24 |
Additional explanation of each keyword follows:
Keyword |
Purpose, format, and parameters |
ia-na |
- Purpose
- Specifies option 3. If specified, the client requests for non-temporary
addresses from the server.
- Format
option ia-na [ { parameters }
] [ exec "exec string" ]
- Parameters
- Option ia-na takes the following parameters:
ia-id value
renew-time value
rebind-time value
These parameters
specify the user-preferred values and are optional. The value specified
can be a decimal number or a hex number prefixed with '0x'
|
ia-ta |
- Purpose
- Specifies option 4. If specified, the client requests for a temporary
addresses from the server.
- Format
option ia-ta [ { parameters }
] [ exec "exec string" ]
- Parameters
- option ia-ta takes the following parameters:
ia-id value
This
parameter specifies the user's preferred values and is optional. The value specified
can be a decimal number or a hex number prefixed with '0x'
|
request-option |
- Purpose
- Specifies option 6. If specified, the client requests a list of
options from the server.
- Format
option request-option { parameters }
[ exec "exec string" ]
- Parameters
- option request-option takes a space
separated list of option codes (in decimal) as the argument
|
rapid-commit |
- Purpose
- Specifies option 14. If specified, the client indicates that the
client is prepared to perform the Solicit-Reply message exchange.
- Format
option rapid-commit [exec "exec string"]
- Parameters
- Does not take any parameters other than the optional exec statement
|
user-class |
- Purpose
- specifies option 15. If specified, the client indicates the type
or category of user or applications it represents.
- Format
option user-class { parameters }
[ exec "exec string" ]
- Parameters
- Option user-class takes one or more
instances of user class data. Each instance of user class data is
a quoted or unquoted string of arbitrary length. If a string contains
a blank space, it must be enclosed in quotes. The parameters are required.
The format for the parameter is:
class value
class value
where value is
a quoted or unquoted string.
|
vendor-class |
- Purpose
- Specifies option 16. If specified, the client indicates the vendor
that manufactured the hardware on which the client is running.
- Format
- option vendor-class { parameters } [
exec "exec string" ]
- Parameters
- Option vendor-class takes the vendor's
registered Enterprise number and one or more instances of vendor class
data. Each instance of vendor class data is a quoted or unquoted string
of arbitrary length, each of which describes some characteristic of
the client's hardware configuration. The parameters are not optional.
The format is:
vendor-id value
class value
class value
where value is
a quoted or unquoted string.
|
vendor-opts |
- Purpose
- Specifies option 17. If specified, the client indicates the vendor-specific
information to the server.
- Format
option vendor-opts <enterprise-number>
{ parameters } [ exec "exec string" ]]
- Parameters
- Option vendor-opts takes the vendor's
registered Enterprise number and one or more instances of vendor option
data. Each instance of vendor option data is a vendor option code
followed by a option data in string or hex format. The parameters
are not optional. The format is:
vendor-id value
option opcode option-data
option opcode option-data
where option-data is
a quoted or non-quoted or a hex string (prefixed with '0x')
|
reconf-accept |
- Purpose
- Specifies option 20. If specified, the client indicates to the
server whether the client is willing to accept reconfigure message
from the server.
- Format
option reconf-accept [ { exec "exec string" } ]
- Parameters
- option reconf-accept takes no option
specific parameters, other than the exec statement.
|
dns-servers |
- Purpose
- specifies option 23. If specified, the client indicates to the
server the preferred set of DNS servers
- Format
option dns-servers [ { parameters }
] [ exec "exec string" ]
- Parameters
- option dns-servers takes a space/line
separated list of IPv6 addresses as argument.
|
domain-list |
- Purpose
- specifies option 24. If specified, the client indicates the preferred
domain list.
- Format
option domain-list [ { parameters }
] [ exec "exec string" ]
- Parameters
- option domain-list takes a space/line
separated list of domain name strings.
|