302
Predefined user roles
network-admin
Parameters
start-ipv6-address: Specifies the start IPv6 address.
end-ipv6-address: Specifies the end IPv6 address.
preferred-lifetime preferred-lifetime: Sets the preferred lifetime. The value range is 60 to
4294967295 seconds, and the default is 604800 seconds (7 days).
valid-lifetime valid-lifetime: Sets the valid lifetime. The value range is 60 to 4294967295 seconds,
and the default is 2592000 seconds (30 days). The valid lifetime cannot be shorter than the preferred
lifetime.
Usage guidelines
If you do not execute the temporary address range command, the DHCPv6 server does not
support temporary address assignment.
You can configure only one temporary IPv6 address range in an address pool. If you execute this
command multiple times, the most recent configuration takes effect.
Examples
# In DHCPv6 address pool 1, configure a temporary IPv6 address range from 3ffe:501:ffff:100::50 to
3ffe:501:ffff:100::60.
<Sysname> system-view
[Sysname] ipv6 dhcp pool 1
[Sysname-dhcp6-pool-1] network 3ffe:501:ffff:100::/64
[Sysname-dhcp6-pool-1] temporary address range 3ffe:501:ffff:100::50
3ffe:501:ffff:100::60
Related commands
display ipv6 dhcp pool
address range
network
vpn-instance
Use vpn-instance to apply a DHCPv6 address pool to a VPN instance.
Use undo vpn-instance to restore the default.
Syntax
vpn-instance vpn-instance-name
undo vpn-instance
Default
The DHCPv6 address pool is not applied to any VPN instance.
Views
DHCPv6 address pool view
Predefined user roles
network-admin