ip dhcp pool

Use this command to assign a local pool of addresses as a DHCP pool, and to enable DHCP address pool configuration mode.

Syntax

ip dhcp pool name
no ip dhcp pool name

Parameters

name Specifies a DHCP address pool name.

This must match the previously configured name assigned with the ip local pool command as described in ip local pool.

Defaults

None.

Mode

Configuration command mode.

Usage

The “no” form of this command deletes a DHCP address pool.

Example

This example shows how to assign the name “localpool” as a DHCP address pool, and enable configuration mode for that address pool:

System(rw-config)->ip dhcp pool localpool
System(rw-config-dhcp-pool)->