<Sysname> system-view
[Sysname] ipv6 dhcp pool pool1
[Sysname-dhcp6-pool-pool1]
Related commands
class pool
display ipv6 dhcp pool
ipv6 dhcp server apply pool
ipv6 dhcp prefix-pool
Use ipv6 dhcp prefix-pool to create a prefix pool and specify the prefix and the assigned prefix
length for the pool.
Use undo ipv6 dhcp prefix-pool to delete the specified prefix pool.
Syntax
ipv6 dhcp prefix-pool prefix-pool-number prefix { prefix-number | prefix/prefix-len } assign-len
assign-len [ vpn-instance vpn-instance-name ]
undo ipv6 dhcp prefix-pool prefix-pool-number [ vpn-instance vpn-instance-name ]
Default
No prefix pools exist.
Views
System view
Predefined user roles
network-admin
Parameters
prefix-pool-number: Specifies a prefix pool number in the range of 1 to 128.
prefix { prefix-number | prefix/prefix-len }: Specifies a prefix by its ID or in the format of prefix/prefix
length. The value range for the prefix-number argument is 1 to 1024. The value range for the
prefix-len argument is 1 to 128.
assign-len assign-len: Specifies the assigned prefix length. The value range is 1 to 128, and the
value must be greater than or equal to prefix-len. The difference between assign-len and prefix-len
must be no more than 16.
vpn-instance vpn-instance-name: Specifies an MPLS L3VPN instance by its name, a
case-sensitive string of 1 to 31 characters. To create a prefix pool for the public network, do not
specify this option.
Usage guidelines
Different prefix pools cannot overlap.
To modify a prefix pool, execute the undo ipv6 dhcp prefix-pool command to delete the prefix pool,
and then execute the ipv6 dhcp prefix-pool command.
Deleting a prefix pool clears all prefix bindings from the prefix pool.
When you specify a prefix by its ID, follow these restrictions and guidelines:
•
This command does not take effect if the prefix does not exist. This command takes effect after
the prefix is created.
•
Do not specify the same prefix for different prefix pools in a VPN.
284