5-4 
IP address is available, the server assigns the client an IP address from the specified extended 
address pool. 
z  Only an extended address pool can be applied on an interface. The address pool to be referenced 
must already exist. 
Related commands: dhcp server ip-pool. 
Examples 
# Apply extended DHCP address pool VLAN 1 on VLAN-interface 1. 
<system> system-view 
[Sysname] interface vlan-interface 1 
[Sysname-Vlan-interface1] dhcp server apply ip-pool VLAN1 
dhcp select server global-pool 
Syntax 
dhcp select server global-pool [ subaddress ] 
undo dhcp select server global-pool [ subaddress ] 
View 
Interface view 
Default Level 
2: System level 
Parameters 
subaddress: Supports subaddress allocation. That is, the DHCP server and clients are on the same 
network segment, and the server allocates IP addresses from the address pool containing the network 
segment of the first subaddress if several subaddresses exist. 
Description 
Use the dhcp select  server  global-pool command to enable the DHCP server on specified 
interface(s). After the interface receives a DHCP request, the DHCP server will allocate an IP address 
from the address pool. 
Use the undo dhcp select server global-pool command to remove the configuration. That is, upon 
receiving a DHCP request from a client, the interface will not assign an IP address to the client. 
Use the undo dhcp select  server  global-pool subaddress command to cancel the support for 
subaddress allocation. 
By default, the DHCP server is enabled on an interface. 
Examples 
# Enable the DHCP server on VLAN-interface 1. 
<Sysname> system-view 
[Sysname] interface vlan-interface 1 
[Sysname-Vlan-interface1] dhcp select server global-pool 
dhcp server detect 
Syntax 
dhcp server detect