HP VPN Firewall Appliances Network Management Command Reference

773
ipv6 address dhcp-alloc
Use the ipv6 address dhcp-alloc command to configure an interface to use DHCPv6 for IP address
acquisition.
Use the undo ipv6 address dhcp-alloc command to cancel an interface from using DHCPv6.
Syntax
ipv6 address dhcp-alloc [ option-group group-number | rapid-commit ] *
undo ipv6 address dhcp-alloc
Default
An interface does not use DHCPv6 for IP address acquisition.
Views
Interface view
Default command level
2: System level
Parameters
option-group option-group-number: Enables the DHCPv6 client to create a dynamic DHCPv6 option
group for saving the network parameters, and assigns an ID to the dynamic DHCPv6 option group, in the
range of 1 to 100. If no option group ID is specified, the DHCPv6 client does not create any dynamic
DHCPv6 option group.
rapid-commit: Enables rapid address and prefix assignment.
Examples
# Configure GigabitEthernet 0/1 to use DHCPv6 for address acquisition, enable rapid address
assignment, and specify the ID for the DHCPv6 option group as 1. When the client obtains network
parameters, it creates an option group and saves the parameters in the group.
<Sysname> system-view
[Sysname] interface gigabitethernet 0/1
[Sysname-GigabitEthernet0/1] ipv6 address dhcp-alloc rapid-commit option-group 1
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.
Syntax
ipv6 dhcp client pd prefix-number [ option-group group-number | rapid-commit ] *
undo ipv6 dhcp client pd
Default
An interface does not use DHCPv6 for IPv6 prefix acquisition.
Views
Interface view