D-Link DGS-3600 Switch User Manual


 
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
233
To configure the DNS server address for a DHCPv6 pool:
DGS-3627:admin# config dhcpv6 pool dns_server pool1 2000::200 2000::201
Command: config dhcpv6 pool dns_server pool1 2000::200 2000::201
Success.
DGS-3627:admin#
config dhcpv6 pool lifetime
Purpose This command is used to configure the preferred-lifetime and valid-lifetime of IPv6 address
within a DHCPv6 pool.
Syntax
config dhcpv6 pool lifetime <pool_name 12> preferred_lifetime <sec 60-4294967295>
valid_lifetime <sec 60-4294967295>
Description within a DHCPv6 pool.
preferred lifetime - the length of time that a valid address is preferred (i.e., the time until
deprecation). When the preferred lifetime expires, the address becomes deprecated.
valid lifetime - the length of time an address remains in the valid state (i.e., the time until
invalidation). When the valid lifetime expires, the address becomes invalid.
The valid lifetime must be greater than or equal to the preferred lifetime.
Parameters
pool <pool_name 12> - Enter the previously created pool name for which to set the preferred-
lifetime and valid-lifetime of IPv6 address.
preferred_lifetime <sec 60-4294967295> - The amount of time (in seconds) that the IPv6
address, based on the specified pool, remains in preferred state.
valid_lifetime <sec 60-4294967295> - The amount of time (in seconds) that the IPv6 address,
based on the specified pool, remains in valid state.
Restrictions Only Administrator and Operator-level users can issue this command.
Example usage:
To configure the preferred-lifetime and valid-lifetime for the DHCPv6 pool:
DGS-3627:admin# config dhcpv6 pool lifetime pool1 preferred_lifetime 80 valid_lifetime
100
Command: config dhcpv6 pool lifetime pool1 preferred_lifetime 80 valid_lifetime 100
Success.
DGS-3627:admin#
config dhcpv6 pool manual_binding
Purpose This command is used to configure a DHCPv6 pool manual binding entry.
Syntax
config dhcpv6 pool manual_binding <pool_name 12> [add <ipv6addr > client_duid
<string 28> | delete [<ipv6addr > | all] ]
Description An address binding is a mapping between the IPv6 address and DUID (A DHCPv6 Unique
Identifier for a DHCPv6 participant) of a client.
The IPv6 address specified in the manual binding entry must be in the range of the DHCPv6
pool. If the user specifies a conflict IPv6 address, error message will be returned.
Parameters
pool <pool_name 12> - Enter the name of the previously created pool that will contain the
manual binding entry.