EasyManua.ls Logo

Cisco 32369 - Page 35

Cisco 32369
52 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
lease
Cisco IOS DHCP Server 35
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
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
days Specifies the duration of the lease in numbers of days.
hours (Optional) Specifies the number of hours in the lease. A days value
must be supplied before you can configure an hours value.
minutes (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.
infinite Specifies the duration of the lease is unlimited.

Related product manuals