Option - HP A5120 EI Series Command Reference Manual

Hide thumbs Also See for A5120 EI Series:
Table of Contents

Advertisement

NOTE:
Only the extended address pools support this command.
If you specify an IP address range for an extended address pool without an IP address mask, the extended
address pool is not valid, and therefore the system cannot assign IP addresses from the extended address pool.
Related commands: dhcp server ip-pool, network ip range, and display dhcp server tree.
Examples
# Specify 255.255.255.0 as the IP address mask for dynamic allocation in extended address pool 0.
<Sysname> system-view
[Sysname] dhcp server ip-pool 0 extended
[Sysname-dhcp-pool-0] network mask 255.255.255.0

option

Syntax
option code { ascii ascii-string | hex hex-string&<1- 1 6> | ip-address ip-address&<1-8> }
undo option code
View
DHCP address pool view
Default level
2: System level
Parameters
code: Specifies the self-defined option number, in the range 2 to 254, excluding 12, 50 to 55, 57 to 61,
and 82.
ascii ascii-string: Specifies an ASCII string with 1 to 255 characters.
hex hex-string&<1- 1 6>: Specifies hex digit strings. &<1- 1 6> 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 IP addresses. &<1-8> indicates that you can specify up to eight IP
addresses, separated by spaces.
Description
Use the option command to configure a self-defined DHCP option in a DHCP address pool.
Use the undo option command to remove a self-defined DHCP option from a DHCP address pool.
The option command is not configured by default.
If you use the option command repeatedly, the latest configuration will overwrite the previous one.
Related commands: dhcp server ip-pool and display dhcp server tree.
Examples
# Configure the hex digits 0x1 1 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
43

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents