Command Manual – Network Protocol
Quidway S8500 Series Routing Switches
Chapter 4 DHCP Configuration Commands
Huawei Technologies Proprietary
4-28
4.2.26 option
Syntax
option code
{
ascii
ascii-string
|
hex
hex-string
|
ip-address ip-address
[
ip-address
] }
undo option
code
View
DHCP address pool view
Parameter
code
: Customized option value, a number ranging from 2 to 254.
ascii ascii-string
: Specifies an ASCII string. The
ascii-string
argument is a string that is
of 1 to 63 characters in length.
hex
hex-string
: Specifies a numeric string containing two or four hexadecimal digits (hh
or hhhh).
ip-address ip-address
[
ip-address
]: Specifies one or more IP addresses. You can
specify up to eight IP addresses (separated by spaces) in one command.
Description
Use the
option
command to configure a custom DHCP option for a global DHCP
address pool.
Use the
undo option
command to remove a custom DHCP option configured for the
global DHCP address pool.
If you execute the
option
command multiple times, the new configurations overwrite
the corresponding old ones
Related command:
dhcp server ip-pool
,
dhcp server option
.
Example
# Configure a custom option for the global DHCP address pool, with an option value of
100 and two hexadecimal numbers of 0x11 and 0x22.
<Quidway> system-view
System View: return to User View with Ctrl+Z.
[Quidway] dhcp server ip-pool 0
[Quidway-dhcp-0] option 100 hex 11 22
4.2.27 reset dhcp server conflict
Syntax
reset dhcp server conflict
{
ip ip-address
|
all
}