ipv6 dhcp client duid
Use ipv6 dhcp client duid to configure the DHCPv6 client DUID for an interface.
Use undo ipv6 dhcp client duid to restore the default.
Syntax
ipv6 dhcp client duid { ascii ascii-string | hex hex-string | mac interface-type interface-number }
undo ipv6 dhcp client duid
Default
The interface uses the device bridge MAC address to generate its DHCPv6 client DUID.
Views
Layer 3 Ethernet interface view
Layer 3 Ethernet subinterface view
Layer 3 aggregate interface view
Layer 3 aggregate subinterface view
VLAN interface view
Predefined user roles
network-admin
mdc-admin
Parameters
ascii ascii-string: Specifies a case-sensitive ASCII string of 1 to 130 characters as the DHCPv6 client DUID.
hex hex-string: Specifies a hexadecimal number of 2 to 260 characters as the DHCPv6 client DUID.
mac interface-type interface-number: Specifies the MAC address of the specified interface as the DHCPv6 client DUID. The interface-type interface-number arguments specify an interface by its type and number.
Usage guidelines
A DHCPv6 client pads its DUID into the 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.
The DUID of a DHCPv6 client is the globally unique identifier of the client, so make sure the DUID that you configure is unique.
Examples
# Specify the hexadecimal number FFFFFFFF as the DHCPv6 client DUID for VLAN-interface 10.
<Sysname> system-view [Sysname] interface vlan-interface 10 [Sysname-Vlan-interface10] ipv6 dhcp client duid hex ffffffff
Related commands
display ipv6 dhcp client