New Feature Manual - DHCP 
Quidway S3900 Series Ethernet Switches-Release 1510 
Chapter 1  DHCP Server Configuration 
Commands
 
Huawei Technologies Proprietary 
1-16 
1.1.14  dhcp server option 
Syntax 
VLAN interface view: 
dhcp server option code { ascii ascii-string | hex hex-string&<1-10> | ip-address 
ip-address&<1-8> } 
undo dhcp server option code 
System view: 
dhcp server option code { ascii ascii-string | hex hex-string&<1-10> | ip-address 
ip-address&<1-8> } { interface  interface-type interface-number [  to  interface-type 
interface-number ] | all } 
undo dhcp server option  code { interface  interface-type interface-number [  to 
interface-type interface-number ] | all } 
View 
System view/VLAN interface view 
Parameter 
code: Customized option number ranging from 2 to 254. Note that this argument 
cannot be 3, 6, 15, 44, 46, 50 through 55, 57 through 61, 82, or 217. Use the dhcp 
server voice-config command and the dhcp server voice-config interface 
command to configure option 184. You cannot configure option 184 by executing the 
dhcp server option command.   
ascii ascii-string: Specifies a string that is of 1 to 63 characters. Note that each 
character of the string must be an ASCII character. 
hex hex-string&<1-10>: Specifies strings, each of which comprises 1 to 8 hexadecimal 
digits. &<1-10> means you can provide up to 10 such strings. When inputting more 
than one string, separate two neighboring strings with a space. Note that the total 
number of the hexadecimal digits (spaces not included) cannot exceed 64. 
ip-address  ip-address&<1-8>: Specifies IP addresses. &<1-8> means you can 
provide up to eight IP addresses. When inputting more than one 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: Specifies all interface address pools.