DHCP and Other System Services Feature Guide for EX2300, EX3400, and EX4300 Switches
lease-time
Syntax
Hierarchy Level
Release Information
Description
Default
Options
Required Privilege
Level
Related
Documentation
226
lease-time (length | infinite);
[edit interfaces interface-name unit logical-unit-number family inet dhcp]
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.
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.
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.
seconds —Request a lease time of a specific duration.
Range: 60 through 2147483647 seconds
infinite—Request that the lease never expire.
interface—To view this statement in the configuration.
interface-control—To add this statement to the configuration.
Configuring a DHCP Client (CLI Procedure) on page 17
interfaces
unit
family
Copyright © 2017, Juniper Networks, Inc.