HP MSR2000/3000/4000 Router Series Layer 3 - IP Services Command Reference
283
is not specified, only the start-prefix/prefix-len is excluded from dynamic allocation. If it is specified, the
prefixes from start-prefix/prefix-len to end-prefix/prefix-len are all excluded.
Usage guidelines
You can exclude multiple IPv6 prefix ranges from dynamic allocation.
If the excluded IPv6 prefix is in a static binding, the prefix can still be assigned to the client.
The prefix or prefix range specified in the undo form of the command must be the same as the prefix or
prefix range specified in the command. To remove a prefix that has been specified as part of a prefix
range, you must remove the entire prefix range.
Examples
# Exclude IPv6 prefixes from 2001:3e11::/32 through 2001:3eff::/32 from dynamic allocation.
<Sysname> system-view
[Sysname] ipv6 dhcp server forbidden-prefix 2001:3e11::/32 2001:3eff::/32
Related commands
• ipv6 dhcp server forbidden-address
• static-bind
network
Use network to specify an IPv6 subnet for dynamic allocation in a DHCPv6 address pool.
Use undo network to remove the specified IPv6 subnet.
Syntax
network prefix/prefix-length [ preferred-lifetime preferred-lifetime valid-lifetime valid-lifetime ]
undo network
Default
No IPv6 subnet is specified in an address pool.
Views
DHCPv6 address pool view
Predefined user roles
network-admin
Parameters
prefix/prefix-length: Specifies the IPv6 subnet for dynamic allocation. The value range for prefix-length is
1 to 128.
preferred-lifetime preferred-lifetime: Specifies the preferred lifetime. The value ranges from 60 to
4294967295 seconds and defaults to 604800 seconds (7 days).
valid-lifetime valid-lifetime: Specifies the valid lifetime. The value ranges from 60 to 4294967295
seconds and defaults to 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.