F3726, F3211, F3174, R5135, R3816-HP Firewalls and UTM Devices Network Management Command Reference-6PW100

Table Of Contents
748
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 prefix length ranges from 1 to
128 .
prefix: Specifies a prefix for dynamic prefix assignment.
prefix-number: Specifies the ID of an IPv6 prefix, in the range of 1 to 1024.
sub-prefix/sub-prefix-length: Specifies the IPv6 sub-prefix and sub-prefix length. The value for
sub-prefix-length ranges from 1 to 128. If the ipv6 prefix command specifies a prefix longer than the
sub-prefix, the prefix is used for prefix assignment.
preferred-lifetime preferred-lifetime: Specifies the preferred lifetime for IPv6 addresses assigned from the
subnet. The value ranges from 60 to 4294967295 seconds and defaults to 604800 seconds (seven
days).
valid-lifetime valid-lifetime: Specifies the valid lifetime for IPv6 addresses assigned from the subnet. The
value ranges from 60 to 4294967295 seconds and defaults to 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. You cannot repeatedly execute the network
command in the same address pool.
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.
You cannot use the network network-address/prefix-length command to configure the same subnet in
different address pools, or cannot use the network prefix command in to specify the same prefix in
different address pools.
You can specify a non-existing IPv6 prefix for the network prefix command, but the command takes effect
only after you create the IPv6 prefix.
If the prefix used by the network prefix command changes, the assignable network changes, and
information about assigned prefix and addresses is removed.
Examples
# Specify IPv6 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
# Create an IPv6 prefix 88:99::/32 with the ID 3. Specify the IPv6 prefix in address pool 1 for prefix
assignment.
<Sysname> system-view