R0106-HP MSR Router Series Layer 3 - IP Services Command Reference(V7)

338
[Sysname] ipv6 dhcp client dscp 30
ipv6 dhcp client pd
Use ipv6 dhcp client pd to configure an interface to use DHCPv6 for IPv6 prefix acquisition.
Use undo ipv6 dhcp client pd to cancel an interface from using DHCPv6, and clear the obtained IPv6
prefix and other configuration parameters.
Syntax
ipv6 dhcp client pd prefix-number [ option-group option-group-number | rapid-commit ]*
undo ipv6 dhcp client pd
Default
An interface does not use DHCPv6 for IPv6 prefix acquisition.
Views
Layer 3 Ethernet interface/subinterface view
Layer 3 aggregate interface view
VLAN interface view
Predefined user roles
network-admin
Parameters
prefix-number: Specifies an IPv6 prefix ID in the range of 1 to 1024. After obtaining an IPv6 prefix, the
client assigns the ID to the IPv6 prefix.
rapid-commit: Supports rapid address or prefix assignment.
option-group option-group-number: Enables the DHCPv6 client to create a dynamic DHCPv6 option
group for saving the configuration parameters, and assigns an ID to the option group. The value range
for the ID is 1 to 100. If you do not specify this option, the DHCPv6 client does not create any dynamic
DHCPv6 option groups.
Examples
# Configure GigabitEthernet 2/1/1 to use DHCPv6 for IPv6 prefix acquisition. Specify IDs for the
dynamic IPv6 prefix and dynamic DHCPv6 option group, and configure the client to support rapid prefix
assignment.
<Sysname> system-view
[Sysname] interface gigabitethernet 2/1/1
[Sysname-GigabitEthernet2/1/1] ipv6 dhcp client pd 1 rapid-commit option-group 1
Related commands
display ipv6 dhcp client
ipv6 dhcp client stateless enable
Use ipv6 dhcp client stateless enable to enable stateless DHCPv6.
Use undo ipv6 dhcp client stateless enable to restore the default.