Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

lease-time

 

Syntax

Hierarchy Level

Release Information

Statement introduced in Junos OS Release 9.0 for EX Series switches.

Statement introduced in Junos OS Release 9.2 for SRX Series devices.

Statement introduced in Junos OS Release 14.1X53-D20 for the OCX Series.

Description

Request a specific lease time for the IP address. The lease time is the length of time in seconds that a client holds the lease for an IP address assigned by a DHCP server.

Default

If no lease time is requested by client, then the server sends the lease time. The default lease time on a Junos OS DHCP server is one day.

Options

seconds Request a lease time of a specific duration.

Range: 60 through 2147483647 seconds

infiniteRequest that the lease never expire.

Required Privilege Level

interface—To view this statement in the configuration.

interface-control—To add this statement to the configuration.

Related Documentation