The dhcpv6 client pd command configures the DHCPv6 PD client function.
The undo dhcpv6 client pd command disables the DHCPv6 PD client function.
By default, the DHCPv6 PD client function is disabled.
dhcpv6 client pd prefix-name [ hint ipv6-prefix/ipv6-prefix-length ] [ rapid-commit ] [ unicast-option ]
undo dhcpv6 client pd
Parameter |
Description |
Value |
|---|---|---|
hint ipv6-address |
Specifies the required IPv6 address to be requested. |
The value is a 32-digit hexadecimal number, in the format X:X:X:X:X:X:X:X. |
prefix-name |
Specifies the name of an IPv6 address prefix name. |
The value is a string of 1 to 63 case-sensitive characters without spaces. |
hint ipv6-prefix/ipv6-prefix-length |
Specifies the required IPv6 address prefix and prefix length. |
ipv6-prefix: The value has 128 bits. It is represented as eight groups of four hexadecimal digits with the groups being separated by colons, in the format of X:X:X:X:X:X:X:X. ipv6-prefix-length: The value is an integer that ranges from 1 to 128. |
rapid-commit |
Indicates that the DHCPv6 PD client requests an IPv6 address prefix using the two-message exchange. |
- |
unicast-option |
Indicates that the DHCPv6 PD client requests an IPv6 address prefix using the unicast mode. |
- |
Only the USG6510E/6510E-POE, USG6530E, USG6515E/6550E/6560E/6580E, and USG6525E/6555E/6565E/6575E-B/6585E/6605E-B support this function.
Usage Scenario
The dhcpv6 client pd command is used on the DHCPv6 PD client. After the dhcpv6 client pd is executed on the device that functions as a DHCPv6 PD client, the device requests an IPv6 address prefix in the DHCPv6 mode. The requested prefix is bound to the configured prefix name. You can specify the hint ipv6-prefix/ipv6-prefix-length parameter to set the required IPv6 address prefix and prefix length.
Prerequisites
Configuration Precautions
When configuring the DHCPv6 PD client function, you cannot set prefix-name to a, au, aut, or auto. These prefix names cannot be applied to interfaces.
<sysname> system-view [sysname] ipv6 [sysname] interface vlanif100 [sysname-Vlanif100] ipv6 enable [sysname-Vlanif100] ipv6 address auto link-local [sysname-Vlanif100] dhcpv6 client pd huawei