53
878
Command Mode
DHCP Pool Network Configuration mode
Example
The following example configures the subnet number and mask for a DHCP
address pool on DHCP server.
Console(config-dhcp)#
53.6
lease
Use the lease DHCP Pool Network Configuration mode command to configure the
time duration of the lease for an IP address that is assigned from a DHCP server to
a DHCP client.
Use the no form of this command to restore the default value.
Syntax
days
hours
minutes
lease {
[{
} [
no lease
Parameters
•
days—Specifies the number of days in the lease.
•
hours—Specifies the number of hours in the lease. A days value must be
supplied before configuring an
•
minutes—Specifies the number of minutes in the lease. A days value and an
hours value must be supplied before configuring a minutes value.
•
infinite—Specifies that the duration of the lease is unlimited.
Default Configuration
The default lease duration is 1 day.
Command Mode
DHCP Pool Network Configuration mode
Examples
The following example shows a 1-day lease.
address
10.12.1.0 255.255.255.0
] | infinite}
]
hours
value.
78-21075-01 Command Line Interface Reference Guide
DHCP Server Commands