Prefix-Pool - H3C S6550X-HI Series Command Reference Manual

Table of Contents

Advertisement

Related commands
display ipv6 dhcp pool
ipv6 dhcp option-group

prefix-pool

Use
prefix-pool
dynamically select a prefix from the prefix pool for a client.
Use
undo prefix-pool
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 a DHCPv6 address pool.
Views
DHCPv6 address pool view
Predefined user roles
network-admin
Parameters
prefix-pool-number
preferred-lifetime preferred-lifetime
4294967295 seconds. The default value is 604800 seconds (7 days).
valid-lifetime valid-lifetime
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.
To modify the prefix pool in a DHCPv6 address pool, execute the
remove the prefix pool, and then execute the
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 three days.
<Sysname> system-view
[Sysname] ipv6 dhcp pool 2
[Sysname-dhcp6-pool-2] prefix-pool 2 preferred-lifetime 86400 valid-lifetime 259200
to apply a prefix pool to a DHCPv6 address pool, so the DHCPv6 server can
to remove the prefix pool.
: Specifies a prefix pool by its number in the range of 1 to 128.
: Sets the valid lifetime in the range of 60 to 4294967295
: Sets the preferred lifetime in the range of 60 to
undo prefix-pool
command.
prefix-pool
42
command to

Advertisement

Table of Contents
loading

Table of Contents