Cisco 32369 Manual page 35

Ios dhcp server feature
Table of Contents

Advertisement

lease
To configure the duration of the lease for an IP address that is assigned from a Cisco IOS Dynamic
Host Configuration Protocol (DHCP) Server to a DHCP client, use the lease DHCP pool
configuration command. Use the no form of this command to restore the default value.
lease {days [hours][minutes] | infinite}
no lease
Syntax Description
days
hours
minutes
infinite
Defaults
One day
Command Modes
DHCP pool configuration
Usage Guidelines
This command first appeared in Cisco IOS Release 12.0(1)T.
Examples
The following example shows a one-day lease:
lease 1
The following example shows a one-hour lease:
lease 0 1
The following example shows a one-minute lease:
lease 0 0 1
The following example shows an infinite (unlimited) lease:
lease infinite
Related Commands
ip dhcp pool
Specifies the duration of the lease in numbers of days.
(Optional) Specifies the number of hours in the lease. A days value
must be supplied before you can configure an hours value.
(Optional) Specifies the number of minutes in the lease. A days value
and an hours value must be supplied before you can configure a
minutes value.
Specifies the duration of the lease is unlimited.
lease
Cisco IOS DHCP Server 35

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents