dhcpv6-client
Syntax
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
[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: 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.