ipv6 dhcp client duid
Use ipv6 dhcp client duid to configure the DHCPv6 client DUID.
Use undo ipv6 dhcp client duid to restore the default.
Syntax
ipv6 dhcp client duid { ascii string | hex string | mac interface-type interface-number }
undo ipv6 dhcp client duid
Default
The device uses DUID-LL as the DHCPv6 client DUID.
Views
Interface view
Predefined user roles
network-admin
Parameters
ascii string: Specifies a case-sensitive ASCII string of 1 to 300 characters as the DHCPv6 client DUID.
hex string: Specifies a hexadecimal string of 2 to 130 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.
Examples
# Configure the DHCPv6 client DUID as the hexadecimal string FFFFFF for VLAN-interface 10.
<Sysname> system-view [Sysname] interface vlan-interface 10 [Sysname-Vlan-interface10] ipv6 dhcp client duid hex FFFFFF