Last Updated : Nov 06, 2012 |

Sets the lease of a DHCP pool.

Syntax

lease {seconds|infinite}

Parameters

Parameter

Description

Possible Values

Default Value

seconds

The duration of the lease, in seconds

Unsigned integer 32

691200 (8 days)

infinite

Sets the lease to permanent

User level

read-write

Context

dhcp pool

Example

To set a lease of 1 day:

Gxxx-001(DHCP 5)# lease 86400