New Feature Manual - DHCP 
Quidway S3900 Series Ethernet Switches-Release 1510 
Chapter 1  DHCP Server Configuration 
Commands
 
Huawei Technologies Proprietary 
1-8 
undo dhcp server dns-list { ip-address | all } { interface  interface-type 
interface-number [ to interface-type interface-number ] | all } 
View 
System view/VLAN interface view 
Parameter 
ip-address&<1-8>: IP address of a DNS server. &<1-8> means you can provide up to 
eight DNS server IP addresses. When inputting more than one DNS server IP address, 
separate two neighboring IP addresses with a space. 
interface  interface-type interface-number [ to  interface-type interface-number ]: 
Specifies the interface(s), through which you can specify the corresponding interface 
address pools. 
all: (In comparison with the ip-address argument) Specifies all DNS server IP 
addresses. 
all: (In comparison with the interface keyword) Specifies all interface address pools. 
Description 
Use the dhcp server dns-list command to configure DNS server IP address(es) for 
the DHCP address pool(s) of specified interface(s). 
Use the undo dhcp server dns-list command to remove the DNS server IP 
address(es) configured for the DHCP address pool(s) of the specified interface(s). 
By default, no DNS server IP address is configured for a DHCP interface address pool. 
If you execute the dhcp server dns-list command repeatedly, the new configuration 
overwrites the previous one. 
Related command: dns-list. 
Example 
# Enter system view. 
<Quidway> system-view 
System View: return to User View with Ctrl+Z. 
# Enter VLAN interface 1 view. 
[Quidway] interface Vlan-interface 1 
# Configure the DNS server IP address 1.1.1.254 for the DHCP address pool of the 
VLAN interface 1. 
[Quidway-Vlan-interface1] dhcp server dns-list 1.1.1.254