Prefix-Pool - HP 6125XLG Command Reference Manual

Blade switch layer 3 - ip services
Table of Contents

Advertisement

Related commands
display ipv6 dhcp pool
dns-server
domain-name
sip-server

prefix-pool

Use prefix-pool to apply a prefix pool to a DHCPv6 address pool, so the DHCPv6 server can
dynamically select a prefix from the prefix pool for a client.
Use undo prefix-pool to remove the configuration.
Syntax
prefix-pool prefix-pool-number [ preferred-lifetime preferred-lifetime valid-lifetime valid-lifetime ]
undo prefix-pool prefix-pool-number
Default
No prefix pool is applied to an address pool.
Views
DHCPv6 address pool view
Predefined user roles
network-admin
Parameters
prefix-pool-number: Specifies a prefix pool by its number in the range of 1 to 128.
preferred-lifetime preferred-lifetime: Specifies the preferred lifetime in the range of 60 to 4294967295
seconds. The default value is 604800 seconds (7 days).
valid-lifetime valid-lifetime: Specifies the valid lifetime in the range of 60 to 4294967295 seconds. The
default value is 2592000 seconds (30 days). The valid lifetime must be longer than or equal to the
preferred lifetime.
Usage guidelines
Only one prefix pool can be applied to an address pool.
You can apply a prefix pool that has not been created to an address pool. The setting takes effect after
the prefix pool is created.
You cannot modify prefix pools that have been applied. To change the prefix pool for an address pool,
you must remove the prefix pool application first.
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
# Apply prefix pool 2 to address pool 2, and set the preferred lifetime to one day and the valid lifetime
to 3 days.
220

Advertisement

Table of Contents
loading

Table of Contents