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

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