C613-50170-01 Rev B
Command Reference for x510 Series
2495
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
DHCP
FOR
IP
V
6 (DHCP
V
6) C
OMMANDS
ADDRESS
PREFIX
address prefix
Overview
Use this command in DHCPv6 Configuration mode to specify an address prefix for
address assignment with DHCPv6 server pool configuration.
Use the
no
variant of this command to remove the address prefix from the DHCPv6
server pool.
Syntax
address prefix <
ipv6-prefix
/
prefix-length
> [lifetime
{<
valid-time
>|infinite} {<
preferred-time
>|infinite}]
no address prefix <ipv6-prefix/prefix-length>
Mode
DHCPv6 Configuration
Default
The default valid lifetime is 2592000 seconds and the default preferred lifetime is
604800 seconds.
Usage
This command creates a pool of prefixes from which addresses are assigned to
clients on request, and allocates a network prefix from which the DHCPv6 Server
leases addresses. This command is an alternative to using a range set using the
command.
The DHCPv6 Server selects an IPv6 address from the range available allocated by
the IPv6 prefix, randomly generating the suffix of the IPv6 address, with the
specified preferred and valid lifetime leases. Leased IPv6 address are found in the
Parameter
Description
<
ipv6-prefix/
prefix-length
>
Specify an IPv6 prefix and prefix length. The prefix length
indicates the length of the IPv6 prefix assigned to the pool.
The IPv6 address uses the format X:X::X:X/Prefix-Length. The
prefix-length is usually set between 0 and 64.
lifetime
Specify a time period for the hosts to remember router
advertisements (RAs).
If you specify the optional lifetime parameter with this
command then you must also specify a
valid-time
and a
preferred-time
value.
See the Usage notes below this parameter table for a
description of preferred and valid lifetimes and how these
determine deprecated or invalid IPv6 addresses upon expiry.
<
valid-time
>
Specify a valid lifetime in seconds in the range
<5-315360000>
.
The default valid lifetime is 2592000 seconds.
infinite
Specify an infinite valid lifetime or an infinite preferred lifetime,
or both, when using this keyword.
<
preferred-
time
>
Specify a preferred lifetime in seconds in the range
<5-315360000>
.
The default preferred lifetime is 604800 seconds.