Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?




Hierarchy Level


Configure the Dynamic Host Configuration Protocol (DHCP) client.


  • force-discover—Forces the DHCP client to send a DHCP discover packet after one to three failed dhcp-request attempts. The force-discover option ensures that the DHCP server will assign the same or a new IP address to the client.

  • lease-time—Specify the time to negotiate and exchange DHCP information.

    • infinite—Lease never expires.

    • length—Number of seconds.

  • no-dns-install—Do not add DNS information to the DHCP client (resolve.conf) even after learn from DHCP server

  • retransmission-attempt—Specify the number of times the device attempts to retransmit a DHCP packet fallback. Range is 0-6.

  • server-address—Specify the preferred DHCP server address that is sent to DHCP clients.

  • update-server—Propagate TCP/IP settings to a local DHCP server.

  • vendor-id—Vendor class ID for the DHCP client.

Required Privilege Level

interface—To view this statement in the configuration.

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

Release Information

Statement introduced in Junos OS Release 12.1X44-D10.

Starting with Junos OS Release 17.4R1 and Junos OS Release 15.1X49-D60, on all SRX Series devices and vSRX instances, the CLI option dhcp-client at [edit interfaces interface-name unit logical-unit-number family inet] hierarchy is changed to dhcp to align with other Junos platforms. There is no change in the functionality.