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

Table Of Contents
240
Default command level
2: System level
Parameters
prefix-pool-number: Prefix pool number in the range of 1 to 128.
prefix prefix/prefix-len: Specifies the prefix contained in the specified prefix pool. The prefix indicates the
IPv6 prefix. The prefix-len indicates the prefix length in the range of 1 to 128.
assign-len assign-len: Specifies the length of the prefix assigned, in the range of 1 to 128. The assign-len
must be higher than or equal to the prefix-len, and the difference between them must be less than or
equal to 16.
Usage guidelines
The prefix ranges of the prefix pools cannot overlap.
You cannot modify an existing prefix pool.
Removing a prefix pool clears all bindings of prefixes assigned from the prefix pool.
Examples
# Create prefix pool 1 that contains the prefix 2001:0410::/32 and specify the length of prefixes to be
assigned as 42. Prefix pool 1 can assign 1024 prefixes in the range of 2001:0410::/42 to
2001:0410:FFC0::/42.
<Sysname> system-view
[Sysname] ipv6 dhcp prefix-pool 1 prefix 2001:0410::/32 assign-len 42
ipv6 dhcp server
Use ipv6 dhcp server to enable the DHCPv6 server on the interface.
Use undo ipv6 dhcp server to remove the configuration.
Syntax
ipv6 dhcp server [ allow-hint | apply pool pool-number | preference preference-value | rapid-commit ]
*
undo ipv6 dhcp server
Default
The DHCPv6 server is not enabled on an interface.
Views
Interface view
Default command level
2: System level
Parameters
allow-hint: Configure the server to support desired address and prefix assignment. If this keyword is not
specified, the server does not support assignment of desired addresses and prefixes.
apply pool pool-number: Applies an address pool to the interface. The value range for 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.