266
[Sysname] interface vlan-interface 10
[Sysname-Vlan-interface10] ipv6 address dhcp-alloc rapid-commit
Related commands
display ipv6 dhcp client
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
ipv6 dhcp client dscp
Use ipv6 dhcp client dscp to set the DSCP value for DHCPv6 packets sent by the DHCPv6 client.
Use undo ipv6 dhcp client dscp to restore the default value.
Syntax
ipv6 dhcp client dscp dscp-value
undo ipv6 dhcp client dscp
Default
The DSCP value in DHCPv6 packets is 56.
Views
System view