Configuring the DHCPv6 client DUID

About the DHCPv6 client DUID

The DUID of a DHCPv6 client is the globally unique identifier of the client. The client pads its DUID into Option 1 of the DHCPv6 packet that it sends to the DHCPv6 server. The DHCPv6 server can assign specific IPv6 addresses or prefixes to DHCPv6 clients with specific DUIDs.

Restrictions and guidelines

Make sure the DUID that you configure is unique.

Procedure

  1. Enter system view.

    system-view

  2. Enter interface view.

    interface interface-type interface-number

  3. Configure the DHCPv6 client DUID.

    ipv6 dhcp client duid { ascii string | hex string | mac interface-type interface-number }

    By default, the interface uses the device bridge MAC address to generate its DHCPv6 client DUID.