Dhcp Server Apply Ip-Pool; Dhcp Select Server Global-Pool - HP A5120 EI Series Command Reference Manual

Hide thumbs Also See for A5120 EI Series:
Table of Contents

Advertisement

NOTE:
You need to enable DHCP before performing DHCP server and relay agent configurations.
Examples
# Enable DHCP.
<Sysname> system-view
[Sysname] dhcp enable

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: Specifies the DHCP address pool name, a case-sensitive string in the range 1 to 35
characters.
Description
Use the dhcp server apply ip-pool command to apply an extended address pool on an interface.
Use the undo dhcp server apply ip-pool command 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 VLAN-interface 1.
<Sysname> system-view
[Sysname] interface vlan-interface 1
[Sysname-Vlan-interface1] dhcp server apply ip-pool 0

dhcp select server global-pool

Syntax
dhcp select server global-pool [ subaddress ]
21

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents