You can configure a shorter lease for DHCP and DHCPv6 that overrides the original lease configuration. The shorter lease is also known as an asymmetric lease. When the client successfully requests a lease extension, the client renews the short lease for the same duration. The short lease continues until the original or long lease offered by DHCP or DHCPv6 expires. The short lease provides a means to force a lease renewal for particular hosts or clients before the original lease expires and a form of liveness detection. When the client is no longer using the lease, the client stops requesting a lease renewal; this is reported to the DHCP server or DHCP relay agent as an expiration of the short lease. In the absence of a short lease, client inactivity can be detected only when the long lease expires. The short lease enables earlier detection and frees up address resources earlier than is possible with the long lease.
Configure the short lease duration for DHCP or DHCPv6 globally or by group with the following statement at any [edit...(dhcp-local-server | dhcp-relay)...overrides] hierarchy level:
| Product / Application | Software | Introduced Release |
|---|---|---|
| MX5 | Junos OS | 16.1R4 |
| MX10 | Junos OS | 16.1R4 |
| MX40 | Junos OS | 16.1R4 |
| MX80 | Junos OS | 16.1R4 |
| MX104 | Junos OS | 16.1R4 |
| MX204 | Junos OS | 18.2R1 |
| MX240 | Junos OS | 16.1R4 |
| MX301 | Junos OS | 25.4R1 |
| MX304 | Junos OS | 22.2R3 |
| MX480 | Junos OS | 16.1R4 |
| MX960 | Junos OS | 16.1R4 |
| MX2010 | Junos OS | 16.1R4 |
| MX2020 | Junos OS | 16.1R4 |
| MX10003 | Junos OS | 18.2R1 |