R21xx-HP FlexFabric 11900 Layer 3 IP Services Command Reference
233
preferred-lifetime preferred-lifetime: Specifies the preferred lifetime. The value range is 60 to
4294967295 seconds, and the default is 604800 seconds (7 days).
valid-lifetime valid-lifetime: Specifies the valid lifetime. The value range is 60 to 4294967295 seconds,
and the default is 2592000 seconds (30 days). The valid lifetime must be longer than or equal to the
preferred lifetime.
Usage guidelines
You can specify only one subnet for a DHCPv6 address pool. If you use the network command multiple
times, the most recent configuration takes effect.
You cannot modify or remove the network configuration after using the address range temporary and
address range commands.
Modifying or removing the network configuration removes the addresses in the current address pool.
Examples
# Specify the subnet 3ffe:501:ffff:100::/64 in DHCPv6 address pool 1.
<Sysname> system-view
[Sysname] ipv6 dhcp pool 1
[Sysname-dhcp6-pool-1] network 3ffe:501:ffff:100::/64
Related commands
• address range
• display ipv6 dhcp pool
• temporary address range
option
Use option to configure a self-defined DHCPv6 option in a DHCPv6 address pool.
Use undo option to remove a self-defined DHCPv6 option from a DHCPv6 address pool.
Syntax
option code hex hex-string
undo option code
Default
No self-defined DHCPv6 option is configured in a DHCPv6 address pool.
Views
DHCPv6 address pool view
Predefined user roles
network-admin
Parameters
code: Specifies a number for the self-defined option, in the range of 21 to 65535, excluding 25 through
26, 37 through 40, and 43 through 48.
hex hex-string: Specifies the content of the option, a hex string of even numbers from 2 to 256.










