Command Reference DHCPv6 Commands
Command
Mode
DHCPv6 pool configuration mode.
Usage Guide
To configure several domain names, use the domain-name command for several times. The
newly-configured domain name will not overwrite the former ones.
Configuration
Examples
Ruijie(config-dhcp)# domain-name example.com
Command Description
dns-server
Set the DHCPv6 DNS server list.
Related
Commands
ipv6 dhcp pool
Set the DHCPv6 pool.
Platform
Description
N/A
iana-address prefix
Use this command to set the IA_NA address prefix for the DHCPv6 Server. Use the no form of this
command to remove the IA_NA address prefix.
iana-address prefix ipv6-prefix/prefix-length [ lifetime { valid-lifetime | preferred-lifetime } ]
no iana-address prefix
Parameter Description
ipv6-prefix/prefix-length
Set the IPv6 prefix and prefix length.
lifetime
Set the lifetime of the address allocated to the client.
With the keyword lifetime configured, both parameters valid-lifetime
amd preferred-lifetime shall be configured.
valid-lifetime
Set the valid lifetime of using the allocated address for the client.
Parameter
Description
preferred-lifetime
Set the preferred lifetime of the address allocated to the client.
Defaults
By default, no IA_NA address prefix is configured;
The default valid-lifetime is 3600s (1 hour).
The default preferred-lifetime is 3600s (1 hour).
Command
Mode
DHCPv6 pool configuration mode.
Usage Guide
This command is used to set the IA_NA address prefix for the DHCPv6 Server, and allocate the
IA_NA address to the client.
The Server attempts to allocate a usable address within the IA_NA address prefix range to the client
upon receiving the IA_NA address request from the client. That address will be allocated to other
clients if the client no longer uses that address again.