lease-count

Configures the number of lease IP addresses used for the DHCP address pool.
Syntax
lease-countnumber-of-ip-addresses
Command Default

The lease count is filled based on the available leases in the address pool, as well as the overall available leases.

Parameters
number-of-ip-addresses
Specifies the number of lease IP addresses. The maximum value is 3000.
Modes

DHCP server pool configuration mode

Usage Guidelines

A maximum of 3000 leases can be configured. When 3000 leases are allocated, the configuration under any remaining pools is removed from the configuration.

The no form of the command removes the configured number of lease IP addresses for the DHCP address pools.

Examples

The following example sets the number of lease IP addresses used for the DHCP address pool to 2500.

device# configure terminal
device(config)# ip dhcp-server-pool cabo
device(config-dhcp-cabo)# lease-count 2500
History
Release version Command history
09.0.10a This command was introduced.