ipv6 address dhcp-alloc

Syntax

ipv6 address dhcp-alloc [ rapid-commit ]

undo ipv6 address dhcp-alloc

View

Interface view

Default level

2: System level

Parameters

rapid-commit: Enables rapid address and prefix assignment.

Description

Use the ipv6 address dhcp-alloc command to configure an interface to use DHCPv6 for IPv6 address acquisition.

Use the undo ipv6 address dhcp-alloc command to cancel an interface from using DHCPv6, and clear the obtained IPv6 address and other configuration parameters.

By default, an interface does not use DHCPv6 for IPv6 address acquisition.

Examples

# Configure VLAN-interface 10 to use DHCPv6 for address acquisition, and enable rapid address assignment.

<Sysname> system-view
[Sysname] interface vlan-interface 10
[Sysname-Vlan-interface10] ipv6 address dhcp-alloc rapid-commit