ipv6 dhcp prefix-pool

Syntax

ipv6 dhcp prefix-pool prefix-pool-number prefix prefix/prefix-len assign-len assign-len

undo ipv6 dhcp prefix-pool prefix-pool-number

View

System view

Default level

2: System level

Parameters

prefix-pool-number: Specifies a prefix pool number.

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. The value ranges from 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.

Description

Use ipv6 dhcp prefix-pool to create a prefix pool and specify the prefix and the length of the prefix assigned.

Use undo ipv6 dhcp prefix-pool to remove the prefix pool.

No prefix pool is configured by default.

The prefix ranges of the prefix pools cannot overlap.

You cannot modify an existing prefix pool.

Removing a prefix pool clears all PDs 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