R3303-HP HSR6800 Routers Layer 3 - IP Services Command Reference

Table Of Contents
238
You can specify only one AFTR address for an address pool. The latest setting overrides the previous one.
Examples
# Specify the AFTR address as 2::1.
<Sysname> system-view
[Sysname] ipv6 dhcp pool 1
[Sysname-dhcp6-pool-1] ds-lite address 2::1
network
Use network to specify an IPv6 subnet in a DHCPv6 address pool for dynamic address assignment.
Use undo network to remove an IPv6 subnet from a DHCPv6 address pool.
Syntax
network network-address|prefix-length [ preferred-lifetime preferred-lifetime valid-lifetime valid-lifetime ]
undo network
Default
No IPv6 subnet is configured for dynamic address assignment.
Views
DHCPv6 address pool view
Default command level
2: System level
Parameters
network-address|prefix-length: IPv6 subnet for dynamic assignment. The network-address argument is
the IPv6 address and the prefix-length argument is the prefix length. The value range for the prefix length
is 1 to 128.
preferred-lifetime preferred-lifetime: Specifies the preferred lifetime for IPv6 addresses assigned from the
subnet. The value is 60 to 4294967295 seconds and the default is 604800 seconds (7 days).
valid-lifetime valid-lifetime: Specifies the valid lifetime for IPv6 addresses assigned from the subnet. The
value range is 60 to 4294967295 seconds, and to the default is 2592000 seconds (30 days). The valid
lifetime cannot be shorter than the preferred lifetime.
Usage guidelines
Only one subnet can be specified in an address pool. If you use the network command multiple times in
a DHCPv6 address pool, the most recent configuration takes effect. If the new configuration has the same
subnet as but different preferred lifetime and valid lifetime from the previous configuration, the new
preferred lifetime and valid lifetime are effective only to the IPv6 addresses not assigned to DHCPv6
clients.
You cannot use the network command to configure the same subnet in different address pools.
The network command cannot be used to specify a subnet where all addresses are link-local or multicast
addresses. The network command can be used to specify a subnet where some of the addresses are
link-local or multicast addresses, but these addresses are not assignable.
Examples
# Specify IPv6 subnet 3ffe:501:ffff:100::/64 in DHCPv6 address pool 1.