User Manual

Table Of Contents
[Note]
If prefix information cannot be obtained via the DHCPv6-PD client function, the IPv6 address is not generated.
The IPv6 address is not generated if the combination of the prefix information and lower (host) part of the address is incorrect,
or if the subnet is duplicated across interfaces.
[Example]
This obtains the IPv6 prefix for VLAN #100 via the DHCPv6-PD client.
The prefix name "PD_VLAN100" that was obtained is used to set the IPv6 address for VLAN #200.
In this example, we assume that "2001:db8:1:aaf0::/60" is obtained with "PD_VLAN100".
The following settings are used to set "2001:db8:1:aaf2::1/64" for VLAN #200.
SWP2(config)#interface vlan100
SWP2(config-if)#ipv6 dhcp client pd PD_VLAN100
SWP2(config)#interface vlan200
SWP2(config-if)#ipv6 address pd PD_VLAN100 ::2:0:0:0:1/64
7.6.6 Set DHCPv6-PD client
[Syntax]
ipv6 dhcp client pd prefixname
no
ipv6 dhcp client pd
[Parameter]
prefixname : Internal name attached to assigned prefix
Up to 32 single-byte alphanumeric characters, including dots, hyphens and underscores
[Initial value]
None
[Input mode]
interface mode
[Description]
Enables the DHCPv6-PD client function on the applicable interface, and configures the client to request prefix assignments.
This command can be set for a VLAN interface for which the ipv6 enable command has been set.
The prefix obtained using the prefixname of this command can be used as shown below.
Use the prefix obtained with the ipv6 address pd command to set a IPv6 address.
Use the prefix obtained with the range command in DHCPv6 mode to set an IPv6 address range for dynamic assignment on
a DHCPv6 server. (Only for models that support a DHCPv6 server.)
Use the prefix obtained with the prefix-delegation command in DHCPv6 mode to reassign a prefix on a DHCPv6 server.
(Only for models that support a DHCPv6 server.)
Only one address can be set with this command for one VLAN interface.
This command can be specified for a maximum of eight VLAN interface.
This cannot be set for a VLAN interface that has already been set using the ipv6 address dhcp, ipv6 address autoconfig
stateless or dhcpv6-server commands (only for models that support a DHCPv6 server).
If an IPv6 prefix has been obtained, you can execute the no ipv6 dhcp client pd command to send a release message for the
obtained prefix to the DHCPv6 server.
If this command is executed with the "no" syntax, the DHCPv6-PD client setting is deleted.
If the ipv6 command is set to "disable", this command is also deleted.
[Note]
If this command is set regardless of whether the received RA "M" flag is on or off, DHCPv6-PD stateful operations (IA_PD)
are enabled.
The DHCPv6-PD client requests "OPTION_DNS_SERVERS" (option code 23) and "OPTION_DOMAIN_LIST" (option code
24) to the DHCPv6 server.
When multiple options are returned from the DHCPv6 server, up to three can be obtained for a DNS server and up to six can be
obtained for a domain list.
You can use the dns-server and domain-name commands in DHCPv6 mode for DNS servers and domain lists obtained by a
DHCPv6-PD client. (Only for models that support a DHCPv6 server.)
Command Reference | Layer 3 functions | 241