Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

valid-lifetime

Syntax

valid-lifetime seconds;

Hierarchy Level

[edit access address-assignment pool pool-name family (inet | inet6) dhcp-attributes]

Release Information

Statement introduced in Junos OS Release 13.1R1.

Description

Specify the length of time, in seconds, that the DHCPv6 server keeps the IPv6 prefix valid. The DHCPv6 server sends this value to the client (router).

If you configure a value for the valid-lifetime statement along with a value for the maximum-lease-time statement, or if the configured value of the valid-lifetime statement is less than the value of the preferred-lifetime statement, a commit error occurs. If a value for the valid-lifetime statement is not configured, Junos OS uses the same value as the maximum-lease-time or preferred-lifetime statement. If neither the maximum-lease-time nor preferred-lifetime statement is configured, Junos OS uses the default value of 86,400 seconds.

Options

seconds—Length of time, in seconds, that the DHCPv6 server keeps the IPv6 prefix valid.

Range: 30 through 4,294,967,295 seconds

Default: 86,400 (24 hours)

Required Privilege Level

admin—To view this statement in the configuration.

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

Published: 2013-02-13