R3721-F3210-F3171-HP High-End Firewalls Network Management Command Reference-6PW101
140
dhcp server apply ip-pool
Syntax
dhcp server apply ip-pool pool-name
undo dhcp server apply ip-pool [ pool-name ]
View
Interface view
Default level
2: System level
Parameters
pool-name: DHCP address pool name, a case-insensitive string in the range of 1 to 35 characters.
Description
Use dhcp server apply ip-pool to apply an extended address pool on an interface.
Use undo dhcp server apply ip-pool to remove the configuration.
By default, no extended address pool is applied on an interface, and the server assigns an IP address
from a common address pool to a client when the client's request arrives at the interface.
If you execute the dhcp server apply ip-pool command on an interface, when a client's request arrives at
the interface, the server attempts to assign the client the statically bound IP address first and then an IP
address from this extended address pool.
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 0 on GigabitEthernet 0/1.
<Sysname> system-view
[Sysname] interface GigabitEthernet 0/1
[Sysname-GigabitEthernet0/1] dhcp server apply ip-pool 0
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 secondary address allocation. When the DHCP server and client are on the same
network segment, the server preferably assigns an IP address from an address pool that resides on the