User Manual

Table Of Contents
The DHCPv6 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.
Y
ou can use the show ipv6 dhcp interface command to confirm the DNS servers or domain lists obtained due to requests made
by the DHCPv6 client.
If there is no period (dot) at the end of the domain name of a domain list that was obtained, "." is appended.
Even when this command is used to obtain the DNS server or query domain list from the DHCPv6 server, the settings of the
dns-client name-server and dns-client domain-list commands take priority.
You can use the show dns-client command to confirm the DNS servers or domain lists configured in the system.
If an RA with a valid router lifetime is received after enabling this command, the address of the device that transmitted the RA
is added to the default gateway.
Also, if an RA with a router lifetime of "0" is received, the address of the device that transmitted the RA is deleted from the
default gateway.
However, if the ipv6 nd accept-ra-default-routes disable command has been set, nothing is added to the default gateway
based on the RA.
[Example]
This assigns an IPv6 address to VLAN #100 via the DHCPv6 client.
SWP2(config)#interface vlan100
SWP2(config-if)#ipv6 address dhcp
7.6.5 Set an IPv6 address using DHCPv6-PD
[Syntax]
ipv6 address pd
pd_prefixname pd_ipv6_address/prefix_len
no ipv6 address pd pd_prefixname pd_ipv6_address/prefix_len
[Parameter]
pd_prefixname : Prefix name set on the DHCPv6-PD client (ipv6 dhcp client pd command)
Up to 32 single-byte alphanumeric characters, including dots, hyphens and underscores
pd_ipv6_address : X:X::X:X
IPv6 address based on prefix obtained from DHCPv6-PD client
Sets the lower level (remaining) portion for the prefix obtained from a DHCPv6-PD client
"0" must be specified for the prefix obtained from DHCPv6-PD client
prefix_len : <0-127>
IPv6 prefix length
[Initial value]
None
[Input mode]
interface mode
[Description]
Specifies the IPv6 address and prefix length for the VLAN interface.
An IPv6 address can be set for a VLAN interface for which the ipv6 enable command has been set.
This generates an IPv6 address based on the prefix obtained using the DHCPv6-PD client function.
The generated IPv6 address can be checked by using the show ipv6 interface command.
This command can be used with the ipv6 address, ipv6 address autoconfig and ipv6 address dhcp commands.
For IPv6 addresses, up to five global addresses (including RA settings and DHCPv6 client) and one link local address can be set
in one VLAN interface.
Up to 8 IPv6 addresses can be configured for the system overall (excepting link local addresses that are automatically assigned).
If this command is executed with the "no" syntax, the specified IPv6 address is deleted.
240 | Command Reference |
Layer 3 functions