5-15
Field
Description
Sibling node
The sibling node of the current node, nodes of this kind in the output are:
z
Child node: The child node (subnet segment) address pool of the current
node
z
Parent node: The parent node (nature network segment) address pool of
the current node
z
Sibling node: The latter sibling node of the current node (another subnet of
the same nature network). The earlier the sibling node is configured, the
higher selection priority the sibling node has.
z
PrevSibling node: The previous sibling node of the current node
option
Self-defined DHCP options
expired
The lease duration, in the format of day, hour, and minute
Extended pool
Information of an extended address pool
network ip range
Range of assignable IP addresses in the extended address pool
network mask
Mask of IP addresses assigned from the extended address pool
dns-list
Syntax
dns-list ip-address
&<1-8>
undo dns-list
{
ip-address
|
all
}
View
DHCP address pool view
Default Level
2: System level
Parameters
ip-address
&<1-8>: DNS server IP address. &<1-8> means you can specify up to eight DNS server
addresses separated by spaces.
all
: Specifies all DNS server addresses to be removed.
Description
Use the
dns-list
command to specify DNS server addresses in a DHCP address pool.
Use the
undo dns-list
command to remove DNS server addresses from a DHCP address pool.
By default, no DNS server address is specified.
If you repeatedly use the
dns-list
command, the latest configuration will overwrite the previous one.
Related commands:
dhcp server ip-pool
and
display dhcp server tree.
Examples
# Specify the DNS server address 10.1.1.254 for the DHCP client in DHCP address pool 0.
<Sysname> system-view
[Sysname] dhcp server ip-pool 0
[Sysname-dhcp-pool-0] dns-list 10.1.1.254