R3303-HP HSR6800 Routers Layer 3 - IP Services Command Reference

Table Of Contents
241
preference preference-value: Specifies the server priority in Advertise messages, in the range of 0 to 255.
The default value is 0. A higher value indicates a higher priority.
rapid-commit: Configure the server to support rapid address and prefix assignment. If this keyword is not
specified, the server does not support rapid address and prefix assignment.
Usage guidelines
Upon receiving a request, the interface enabled with the DHCPv6 server selects an IPv6 address or a
prefix from the address pool and assigns it to the client.
With the allow-hint keyword specified, the server assigns the desired address or prefix to the requesting
client. If the desired address or prefix is not included in the assignable address pool or prefix pool of the
interface, or is already assigned to another client, the server ignores the desired address or prefix and
assigns the client an address or a prefix from the free addresses or prefixes.
An interface cannot serve as a DHCPv6 server and DHCPv6 relay agent at the same time. HP
recommends not enabling the DHCPv6 server and DHCPv6 client on the same interface.
Only one address pool can be applied to an interface.
You can apply a non-existing address pool to an interface. However, the server cannot assign any
address, prefix, or other configuration information from the address pool until the address pool is
created.
You cannot modify the address pool applied to an interface or parameters such as the server priority by
using the ipv6 dhcp server command. To do so, disable the DHCPv6 server on the interface first.
Examples
# Apply prefix pool 1 to interface GigabitEthernet 3/0/1, configure the server to support desired
address and prefix assignment, and rapid address and prefix assignment, and set the highest priority of
255.
<Sysname> system-view
[Sysname] interface gigabitethernet 3/0/1
[Sysname-GigabitEthernet3/0/1] ipv6 dhcp server apply pool 1 allow-hint preference 255
rapid-commit
ipv6 dhcp server enable
Use ipv6 dhcp server enable to enable the DHCPv6 server.
Use undo ipv6 dhcp server enable to disable the DHCPv6 server.
Syntax
ipv6 dhcp server enable
undo ipv6 dhcp server enable
Default
The DHCPv6 server is disabled.
Views
System view
Default command level
2: System level