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

Table Of Contents
246
static-bind address
Use static-bind address to configure a static IPv6 address binding in an address pool.
Use undo static-bind address to remove a static IPv6 address binding.
Syntax
static-bind address ipv6-address/addr-prefix-length duid duid [ iaid iaid ] [ preferred-lifetime
preferred-lifetime valid-lifetime valid-lifetime ]
undo static-bind address ipv6-address/addr-prefix-length
Default
No static IPv6 address binding is configured in an address pool.
Views
DHCPv6 address pool view
Default command level
2: System level
Parameters
ipv6-address/addr-prefix-length: Static IPv6 address 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 no
IAID is specified, the server does not match against the client IAID during address assignment.
preferred-lifetime preferred-lifetime: Specifies the preferred lifetime of the static IPv6 address. 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 static IPv6 address. 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 configure multiple static IPv6 address bindings by using the static-bind address command
repeatedly.
An IPv6 address can be bound to only one DHCPv6 client. You cannot use the static-bind address
command to modify the DUID, IAID, preferred lifetime and valid lifetime of a static IPv6 address binding.
To do so, remove the static binding first.
Examples
# In address pool 1, bind static address 2001:0410::2/35 to the client with DUID
00030001CA0006A400 and IAID A1A1A1A1, and use the default settings of the preferred lifetime
and valid lifetime.
<Sysname> system-view
[Sysname] ipv6 dhcp pool 1
[Sysname-dhcp6-pool-1] static-bind address 2001:0410::2/35 duid 00030001CA0006A400 iaid
A1A1A1A1
Related commands
display ipv6 dhcp pool