R3721-F3210-F3171-HP High-End Firewalls Network Management Command Reference-6PW101
684
View
System view
Default level
2: System level
Parameters
prefix-pool-number: Prefix pool number. The value ranges from 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. 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 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 apply pool
Syntax
ipv6 dhcp server apply pool pool-number [ allow-hint | preference preference-value | rapid-commit ] *
undo ipv6 dhcp server apply pool
View
Interface view
Default level
2: System level
Parameters
pool-number: Specifies an address pool by its number, in the range of 1 to 128.
allow-hint: Enables desired address and prefix assignment.
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.