Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

dhcpv6-client

date_range 15-May-24

Syntax

content_copy zoom_out_map
dhcpv6-client {
    client-ia-type {
        ia-na;
        ia-pd;
    }
    client-identifier duid-type (duid-ll | duid-llt | vendor);
    client-type (autoconfig | stateful);
    interface-identifier interface_id;
rapid-commit;
    req-option (dns-server | domain | fqdn | nis-domain | nis-server | ntp-server | sip-domain | sip-server |time-zone | vendor-spec); 
    retransmission-attempt number;
    update-router-advertisement {
        interface interface-name {
            prefix-identifier subnet-id;
	    interface-identifier interface_id;
            }
    }
    update-server;
    use-ra-prefix;
    vendor-id <model-number>:<serial-number>;
}

Hierarchy Level

content_copy zoom_out_map
[edit interfaces interface-name unit logical-unit-number family inet6]
[edit logical-systems name interfaces name unit name family inet6]
[edit tenants tenant-name interfaces name unit name family inet6]

Description

Configure the Dynamic Host Configuration Protocol version 6 (DHCPv6) client.

Note:

NOTE: Starting in Junos OS Release 17.3R1 (on MX Series) and Junos OS Release 18.3R1 (on SRX Series), DHCPv4 and DHCPv6 clients are supported on management interfaces (fxp0 and em0) configured in the non-default management routing instance, mgmt_junos.

Options

client-ia-type

Identity association type for DHCPv6 client. This statement is mandatory.

client-identifier duid-type

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

client-type

Identify the type of DHCPv6 client. This statement is mandatory.

interface-identifier

(Optional) Specify the interface ID during assignment of WAN interface IP through Stateless Address Auto Configuration (SLAAC).

prefix-identifier

(Optional) Specify last bits of the prefix for the respective dynamic pool. The subnet-id must be of at least network-prefix-length bits. In absence of dynamic pool, the received prefix is used to configure LAN interfaces for router advertisement

rapid-commit

The use of the two-message exchange for address assignment.

req-option

Specify options requested by the DHCPv6 client.

retransmission-attempt number

Specify the number of times the device retransmits a DHCPv6 client packet if a DHCPv6 server fails to respond. After the specified number of attempts, no further attempts at reaching a server are made.

update-router-advertisement

Specify the interface used to delegate prefixes.

update-server

Propagate TCP/IP settings to the DHCPv6 server.

use-ra-prefix

(Optional) Enable WAN IP assignment from router advertisement prefix in stateful mode.

For detailed information about these commands, see CLI Explorer.

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.1X45-D10.

Statement introduced in Junos OS Release 24.2R1 for NFX Series Routers.

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

footer-navigation