R0106-HP MSR Router Series Layer 3 - IP Services Command Reference(V7)

327
Parameters
address ipv6-address/addr-prefix-length: Specifies the IPv6 address and prefix length. The value range
for the prefix length is 1 to 128.
prefix prefix/prefix-len: Specifies the prefix and prefix length. The value range for the prefix length is 1
to 128.
duid duid: Specifies a client DUID. The value is an even hexadecimal number in the range of 2 to 256.
iaid iaid: Specifies a client IAID. The value is a hexadecimal number in the range of 0 to FFFFFFFF. If you
do not specify any IAID, the server does not match against the client IAID for prefix assignment.
preferred-lifetime preferred-lifetime: Specifies the preferred lifetime of the address or prefix. The value
range is 60 to 4294967295 seconds, and the default is 604800 seconds (7 days).
valid-lifetime valid-lifetime: Specifies the valid lifetime of the address or prefix. 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
You can specify multiple static bindings in a DHCPv6 address pool.
An IPv6 address or prefix can be bound to only one DHCPv6 client. You cannot modify bindings that
have been created. To change the binding for a DHCPv6 client, you must delete the existing binding first.
Examples
# In address pool 1, bind IPv6 address 2001:0410::/35 to the client DUID 0003000100e0fc005552
and IAID A1A1A1A1.
<Sysname> system-view
[Sysname] ipv6 dhcp pool 1
[Sysname-dhcp6-pool-1] static-bind address 2001:0410::/35 duid 0003000100e0fc005552 iaid
A1A1A1A1
# In address pool 1, bind prefix 2001:0410::/35 to the client DUID 00030001CA0006A400 and IAID
A1A1A1A1.
<Sysname> system-view
[Sysname] ipv6 dhcp pool 1
[Sysname-dhcp6-pool-1] static-bind prefix 2001:0410::/35 duid 00030001CA0006A400 iaid
A1A1A1A1
Related commands
display ipv6 dhcp pool
temporary address range
Use temporary address range to configure a temporary IPv6 address range in a DHCPv6 address pool
for dynamic allocation.
Use undo temporary address range to remove the temporary IPv6 address range from the address pool.
Syntax
temporary address range start-ipv6-address end-ipv6-address [ preferred-lifetime preferred-lifetime
valid-lifetime valid-lifetime ]
undo temporary address range