F3726, F3211, F3174, R5135, R3816-HP Firewalls and UTM Devices Network Management Command Reference-6PW100

Table Of Contents
178
option
Use option to configure a self-defined DHCP option in a DHCP address pool.
Use undo option to remove a self-defined DHCP option from a DHCP address pool.
Syntax
option code { ascii ascii-string | hex hex-string&<1-16> | ip-address ip-address&<1-8> }
undo option code
Default
The option command is not configured.
Views
DHCP address pool view
Default command level
2: System level
Parameters
code: Specifies the number of the self-defined option, in the range of 2 to 254, excluding 12, 50 through
55, 57 through 61, and 82.
ascii ascii-string: Specifies an ASCII string with 1 to 255 characters as the option content.
hex hex-string&<1-16>: Specifies hex digit strings. &<1-16> indicates that you can specify up to 16 hex
digit strings, separated by spaces. Each string contains 2, 4, 6 or 8 hex digits.
ip-address ip-address&<1-8>: Specifies the IP addresses as the option content. &<1-8> indicates that you
can specify up to eight IP addresses separated by spaces.
Usage guidelines
If you use the option command multiple times, the most recent configuration takes effect.
Examples
# Configure the hex digits 0x11 and 0x22 for the self-defined DHCP Option 100 in DHCP address pool
0.
<Sysname> system-view
[Sysname] dhcp server ip-pool 0
[Sysname-dhcp-pool-0] option 100 hex 11 22
Related commands
dhcp server ip-pool
display dhcp server tree
reset dhcp server conflict
Use reset dhcp server conflict to clear IP address conflict information.
Syntax
reset dhcp server conflict { all | ip ip-address }
Views
User view