DHCP Server Commands
295 OL-32830-01 Command Line Interface Reference Guide
12
12.18 option
To configure the DHCP server options, use the option command in DHCP Pool
Network Configuration mode or in DHCP Pool Host Configuration mode. To
remove the options, use the no form of this command.
Syntax
option
code
{boolean {false | true} | integer
value
| ascii
string
| hex {
string
| none} | ip
{
address
} | ip-list {
ip-address1
[
ip-address2
…]}} [description
text
]
no option
code
Parameters
•
code
—Specifies the DHCP option code. The supported values are defined
in the User Guidelines.
• boolean {false | true}—Specifies a boolean value. The values are coded by
integer values of one octet: 0 = false and 1 = true.
• integer
value
—Specifies an integer value. The option size depends on the
option code.
• ascii
string
—Specifies a network virtual terminal (NVT) ASCII character
string. ASCII character strings that contain white spaces must be delimited
by quotation marks. The ASCII value is truncated to the first 160 characters
entered.
• ip
address
—Specifies an IP address.
• ip-list {
ip-address1
[
ip-address2
...]}—Specifies up to 8 IP addresses.
• hex
string
—Specifies dotted hexadecimal data. The hexadecimal value is
truncated to the first 320 characters entered. Each byte in hexadecimal
character strings is two hexadecimal digits. Each byte can be separated by
a period, colon, or white space.
• hex none—Specifies the zero-length hexadecimal string.
• description
text
—User description
Command Mode
DHCP Pool Network Configuration mode
DHCP Pool Host Configuration mode