HP VPN Firewall Appliances Network Management Command Reference

754
Views
Interface view
Default command level
2: System level
Parameters
allow-hint: Enables desired address and prefix assignment.
apply pool pool-number: Applies an address pool to the interface. The value range for the pool number
is 1 to 128. If this option is specified, the DHCPv6 server assigns an IPv6 address or prefix from the
address pool applied on the interface to the client. If not, the server searches all DHCPv6 address pools
to assign an appropriate one to the client.
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: Enables 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 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. It is not
recommended that you enable 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.
If you execute the command multiple times on the same interface, the most recent configuration takes
effect.
Examples
# Enable DHCPv6 server on interface GigabitEthernet 0/1, apply prefix pool 1 to the interface,
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 0/1
[Sysname-GigabitEthernet0/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.