Cisco Systems 32369 manual lease days hoursminutes infinite, no lease, minutes value, Defaults

Models: 32369

1 52
Download 52 pages 12.05 Kb
Page 35
Image 35
lease

lease

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

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.

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

Cisco IOS DHCP Server 35

Page 35
Image 35
Cisco Systems 32369 lease days hoursminutes infinite, no lease, Specifies the duration of the lease in numbers of days