User Manual

Table Of Contents
You can use the show ipv6 dhcp interface command to confirm the DNS servers or domain lists obtained due to requests made
by the DHCPv6-PD 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 a DNS server or query domain list from the DHCPv6-PD 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 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.7 Set automatic registration of default gateway using RA
[Syntax]
ipv6 nd accept-ra-default-r
outes
switch
no ipv6 nd accept-ra-default-routes
[Parameter]
switch : Settings for automatic registration of default gateway using RA
Setting value Description
enable
Enable setting of automatic registration for the
default gateway using RA
disable
Disable setting of automatic registration for the
default gateway using RA
[Initial value]
ipv6 nd accept-ra-default-routes enable
[Input mode]
interface mode
[Description]
Enables/disables the setting of automatic registration of a IPv6 default gateway
, based on the starting address of the router
advertisement (RA) received by the applicable interface.
This command can be set for a VLAN interface for which the ipv6 enable
command has been set.
If this command is executed with the "no" syntax, the setting returns to the default value.
If the
ipv6 command is set to "disable", this command is also deleted.
[Note]
If an RA was received when the ipv6 address dhcp, ipv6 dhcp client pd or ipv6 address autoconfig command was set, the
setting for this command takes priority.
If these commands have not been set, default gateways are not automatically registered, even if this command is set to "enable".
[Example]
Disables setting of automatic registration for the default gateway using RA on VLAN #100.
242 | Command Reference | Layer 3 functions