R3721-F3210-F3171-HP High-End Firewalls Network Management Command Reference-6PW101

686
Use undo ipv6 dhcp server enable to disable the DHCPv6 server.
By default, the DHCPv6 server is disabled.
Other DHCPv6 server related configuration is effective only when the DHCPv6 server is enabled.
Examples
# Enable the DHCPv6 server.
<Sysname> system-view
[Sysname] ipv6 dhcp server enable
prefix-pool
Syntax
prefix-pool prefix-pool-number [ preferred-lifetime preferred-lifetime valid-lifetime valid-lifetime ]
undo prefix-pool
View
DHCPv6 address pool view
Default level
2: System level
Parameters
prefix-pool-number: Prefix pool number. The value ranges from 1 to 128.
preferred-lifetime preferred-lifetime: Specifies the preferred lifetime of prefixes to be assigned. The value
ranges from 60 to 4294967295, in seconds. The default value is 604800 seconds (seven days).
valid-lifetime valid-lifetime: Specifies the valid lifetime of the prefixes to be assigned. The value ranges
from 60 to 4,294,967,295 seconds and defaults to 2,592,000 seconds (30 days). The valid lifetime
cannot be shorter than the preferred lifetime.
Description
Use prefix-pool to apply a prefix pool to the DHCPv6 address pool, so that the DHCPv6 server can
dynamically select a prefix from the prefix pool and assign it to the client.
Use undo prefix-pool to remove the configuration.
No prefix pool is referenced by an address pool by default.
Only one prefix pool can be referenced by an address pool.
A non-existing prefix pool can be referenced by an address pool. However, no prefix is available in the
prefix pool for dynamic prefix assignment until the prefix pool is created.
You cannot modify the prefix pool referenced by an address pool, or the preferred lifetime or valid
lifetime by using the prefix-pool command. You need to remove the configuration before you can have
another prefix pool referenced by the address pool, or modify the preferred lifetime and valid lifetime.
Examples
# Apply prefix pool 1 to address pool 1, and use the default preferred lifetime and valid lifetime.
<Sysname> system-view
[Sysname] ipv6 dhcp pool 1
[Sysname-dhcp6-pool-1] prefix-pool 1