Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

dhcp (DHCP Client)

Syntax (EX Series)

Syntax (SRX Series)

Hierarchy level (EX Series)

Hierarchy level (SRX Series)

Description

Configure a Dynamic Host Configuration Protocol (DHCP) client for an IPv4 interface for logical systems and tenant systems.

The remaining statements are described separately.

Note:

Starting in Junos OS Release 18.1R1, DHCPv4 and DHCPv6 clients are supported on management interfaces (fxp0 and em0) configured in the non-default management routing instance, mgmt_junos.

Options

client-identifier duid-type

Identify a client by a client-identifier value. This statement is mandatory.

no-dns-install

Do not add DNS information to the DHCP client even after it is learned from the DHCP server.

options

Specify options requested by the DHCPv4 client.

force-discover

Send DHCPDISCOVER after DHCPREQUEST retransmission failure

lease-time

Specify lease time in seconds requested in DHCP client protocol packet (60 through 2147,,483,647 seconds for SRX devices)

metric

client initiated default-route metric (0..255 for SRX Series devices)

requested-options

Specify the DHCP options.

The remaining statements are explained separately.

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 9.0.

The logical-systems and tenants options are introduced in Junos OS Release 18.4R1.