71
• Add options for which the CLI does not provide a dedicated configuration command. For
example, you can use the option 4 ip-address 1.1.1.1 command to define the time server
address 1.1.1.1 for DHCP clients.
• Add all option values if the actual requirement exceeds the limit for a dedicated option
configuration command. For example, the dns-list command can specify up to eight DNS
servers. To specify more than eight DNS server, you must use the option 6 command to define
all DNS servers.
DHCP options specified by dedicated commands take precedence over those specified by the
option commands. For example, if a DNS server address is specified by both the dns-list command
and the option 6 command, the server uses the address specified by the dns-list command.
DHCP options specified in DHCP option groups take precedence over those specified in DHCP
address pools.
If you execute this command multiple times with the same code specified, the most recent
configuration takes effect.
Examples
# Configure Option 7 to specify log server address 2.2.2.2 in DHCP address pool 0.
<Sysname> system-view
[Sysname] dhcp server ip-pool 0
[Sysname-dhcp-pool-0] option 7 ip-address 2.2.2.2
Related commands
display dhcp server pool
reset dhcp server conflict
Use reset dhcp server conflict to clear IP address conflict information.
Syntax
reset dhcp server conflict [ ip ip-address ] [ vpn-instance vpn-instance-name ]
Views
User view
Predefined user roles
network-admin
Parameters
ip ip-address: Clears conflict information about the specified IP address. If you do not specify this
option, this command clears all address conflict information.
vpn-instance vpn-instance-name: Specifies an MPLS L3VPN instance by its name, a
case-sensitive string of 1 to 31 characters. If you do not specify a VPN instance, this command
clears conflict information about IP addresses for the public network.
Usage guidelines
Address conflicts occur when dynamically assigned IP addresses have been statically configured for
other hosts. After you modify the address pool configuration, the conflicted addresses might become
assignable. To assign these addresses, use the reset dhcp server conflict command to clear the
conflict information first.
Examples
# Clear all IP address conflict information.
<Sysname> reset dhcp server conflict