R0106-HP MSR Router Series Layer 3 - IP Services Command Reference(V7)
316
You cannot modify an existing prefix pool. To change the prefix pool settings, you must delete the prefix
pool first.
Removing a prefix pool clears all prefix bindings from the prefix pool.
Examples
# Create prefix pool named 1, and specify the prefix 2001:0410::/32 with assigned prefix length being
42. Prefix pool 1 contains 1024 prefixes from 2001:0410::/42 to 2001:0410:FFC0::/42.
<Sysname> system-view
[Sysname] ipv6 dhcp prefix-pool 1 prefix 2001:0410::/32 assign-len 42
Related commands
• display ipv6 dhcp prefix-pool
• prefix-pool
ipv6 dhcp server
Use ipv6 dhcp server to configure global address assignment on an interface. The server on the interface
uses a global address pool to assign configuration information to a client.
Use undo ipv6 dhcp server to restore the default.
Syntax
ipv6 dhcp server { allow-hint | preference preference-value | rapid-commit } *
undo ipv6 dhcp server
Default
The server does not support desired address/prefix assignment or rapid address/prefix assignment. The
server preference is set to 0.
Views
Interface view
Predefined user roles
network-admin
Parameters
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
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.