246
Usage guidelines
The allow-hint keyword enables the server to assign the desired address or prefix to the requesting
client. If the desired address or prefix is not included in any global address pool, or is already
assigned to another client, the server assigns the client a free address or a prefix. If the allow-hint
keyword is not specified, the server ignores the desired address or prefix, and selects an address or
prefix from a global address pool.
If you use the ipv6 dhcp server and ipv6 dhcp server apply pool commands on the same
interface, the ipv6 dhcp server apply pool command takes effect.
Examples
# Configure global address assignment on the interface VLAN-interface 2. Use the desired
address/prefix assignment and rapid address/prefix assignment, and set the server preference to the
highest 255.
<Sysname> system-view
[Sysname] interface vlan-interface 2
[Sysname-Vlan-interface2] ipv6 dhcp server allow-hint preference 255 rapid-commit
Related commands
display ipv6 dhcp server
ipv6 dhcp select
ipv6 dhcp server apply pool
Use ipv6 dhcp server apply pool to apply a DHCPv6 address pool to an interface.
Use undo ipv6 dhcp server apply pool to remove the DHCPv6 address pool from the interface.
Syntax
ipv6 dhcp server apply pool pool-name [ allow-hint | preference preference-value |
rapid-commit ] *
undo ipv6 dhcp server apply pool
Default
No address pool is applied to an interface.
Views
Interface view
Predefined user roles
network-admin
Parameters
pool-name: Specifies a DHCPv6 address pool by its name, a case-insensitive string of 1 to 63
characters.
allow-hint: Enables desired address/prefix assignment.
preference preference-value: Specifies the server preference in Advertise messages, in the range
of 0 to 255. The default value is 0. A greater value specifies a higher preference.
rapid-commit: Enables rapid address/prefix assignment involving two messages.
Usage guidelines
Upon receiving a DHCPv6 request, the DHCPv6 server selects an IPv6 address or prefix from the
address pool applied to the receiving interface. If no address pool is applied, the server selects an