5-3
View
System view
Default Level
2: System level
Parameters
None
Description
Use the
dhcp enable
command to enable DHCP.
Use the
undo dhcp enable
command to disable DHCP.
By default, DHCP is disabled.
You need to enable DHCP before performing DHCP server 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
: DHCP address pool name, a case-insensitive string of 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.
Note that:
z
When a client's request arrives at an interface configured with the
dhcp server apply ip-pool
command, the server assigns the client the IP address statically bound to the client first. If no such