HP VPN Firewall Appliances Network Management Command Reference

750
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.
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 range for
sub-prefix-length is 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 range 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 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. 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
[Sysname] ipv6 prefix 3 88:99::/32
[Sysname] ipv6 dhcp pool 1
[Sysname-dhcp6-pool-1] network prefix 3
# Create an IPv6 prefix 88:99::/32 with the ID 3. Specify the IPv6 prefix in address pool 1 and specify
the sub-prefix and sub-prefix length as 3ffe:501:ffff:100::/64. The DHCPv6 server assigns addresses in
the subnet 88:99:ffff:100::/64 with the prefix length 64. The first 32-bit prefix is determined by the prefix
3 and the last 2-bit prefix is determined by the sub-prefix.
<Sysname> system-view
[Sysname] ipv6 prefix 3 88:99::/32