summaryrefslogtreecommitdiff
path: root/docs/_include/interface-dhcpv6-options.txt
blob: 4f4a1869a673d75389356071dad66dceddf610b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
.. cfgcmd:: set interfaces {{ var0 }} <interface> {{ var2 }} {{ var3 }}
  {{ var5 }} {{ var6 }} dhcpv6-options duid <duid>

  **Configure a specific** :abbr:`DUID (DHCP Unique Identifier)` **for the 
  DHCPv6 client on this interface.**

  The DUID is an identifier used by a DHCPv6 client to get an IPv6 address from 
  a DHCPv6 server. It consists of a 2-byte type field, followed by a 
  variable-length identifier field up to 128 bytes. The format of the identifier 
  part depends on the DUID type:

  * **DUID-LLT:** The most common type, which includes a hardware type, a timestamp, and a MAC address.
  * **DUID-EN:** Is based on a vendor's enterprise number and a unique identifier assigned by the vendor.
  * **DUID-LL:** Includes only a MAC address.

  The DHCP server matches the DUID against its database and provides 
  configuration data (such as address, lease times, DNS servers, etc.) 
  to the DHCP client.

  Example:

  .. code-block:: none

    set interfaces {{ var0 }} {{ var1 }} {{ var2 }} {{ var4 }} {{ var5 }} {{ var7 }} duid '0e:00:00:01:00:01:27:71:db:f0:00:50:56:bf:c5:6d'

.. cfgcmd:: set interfaces {{ var0 }} <interface> {{ var2 }} {{ var3 }}
  {{ var5 }} {{ var6 }} dhcpv6-options no-release

  **Configure the DHCP client not to send a release message when it stops 
  running on this interface.**

  This helps retain the assigned address or prefix. 

  Example:

  .. code-block:: none

    set interfaces {{ var0 }} {{ var1 }} {{ var2 }} {{ var4 }} {{ var5 }} {{ var7 }} dhcpv6-options no-release


.. cfgcmd:: set interfaces {{ var0 }} <interface> {{ var2 }} {{ var3 }}
  {{ var5 }} {{ var6 }} dhcpv6-options parameters-only

  **Enable a stateless DHCPv6 client mode on this interface.**

  In stateless mode, the DHCPv6 client requests only stateless configuration 
  parameters from the DHCP server (for example, DNS server addresses). It 
  doesn’t request a stateful configuration, such as IPv6 addresses or prefixes.

  Example:

  .. code-block:: none

    set interfaces {{ var0 }} {{ var1 }} {{ var2 }} {{ var4 }} {{ var5 }} {{ var7 }} dhcpv6-options parameters-only

.. cfgcmd:: set interfaces {{ var0 }} <interface> {{ var2 }} {{ var3 }}
  {{ var5 }} {{ var6 }} dhcpv6-options rapid-commit

  **Enable DHCPv6 rapid commit on this interface.**

  When enabled, the DHCP client and server skip the negotiation steps 
  (Advertise and Request), completing the DHCPv6 configuration process 
  in just two messages (Solicit and final Reply).

  Example:

  .. code-block:: none

    set interfaces {{ var0 }} {{ var1 }} {{ var2 }} {{ var4 }} {{ var5 }} {{ var7 }} dhcpv6-options rapid-commit

.. cfgcmd:: set interfaces {{ var0 }} <interface> {{ var2 }} {{ var3 }}
  {{ var5 }} {{ var6 }} dhcpv6-options temporary

  **Configure the DHCPv6 client to request a temporary IPv6 address on this 
  interface.**

  When configured, the DHCP client doesn’t form an Identity Association for 
  Non-temporary Addresses (IA_NA) partnership. Consequently, it only obtains 
  a temporary IPv6 address and doesn’t obtain a permanent one.

  Example:

  .. code-block:: none

    set interfaces {{ var0 }} {{ var1 }} {{ var2 }} {{ var4 }} {{ var5 }} {{ var7 }} dhcpv6-options temporary