User Manual

Table Of Contents
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.
If "stateless" is specified, a DHCPv6 "Information-request" is sent and the unit operates in DHCPv6 stateless mode.
If "stateless" is specified, this cannot be set for a VLAN interface for which the ipv6 dhcp client pd
command has already been
set.
Only one DHCPv6 stateless can be set for one VLAN interface.
This command for which "stateless" has been specified can be set for a maximum of 8 VLAN interface.
If you overwrite the ipv6 address autoconfig stateless command after setting it with the ipv6 address autoconfig command,
the DHCPv6 stateless mode is stopped.
If this command is executed with the "no" syntax, the RA setting is deleted.
[Note]
If "stateless" is specified regardless of whether the received RA "O" flag is on or off, DHCPv6 stateless operations are enabled.
This requests "OPTION_DNS_SERVERS" (option code 23) and "OPTION_DOMAIN_LIST" (option code 24) to the DHCPv6
server during stateless operations.
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 show ipv6 dhcp interface to confirm the DNS servers or domain lists obtained due to requests made when
operating in stateless mode.
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.
[Example]
Use RA to set the IPv6 address for VLAN #1.
SWP2(config)#interface vlan1
SWP2(config-if)#ipv6 address autoconfig
7.6.4 Set dynamic IPv6 addresses with a DHCPv6 client
[Syntax]
ipv6 address dhcp
no
ipv6 address dhcp
[Initial value]
None
[Input mode]
interface mode
[Description]
Using the DHCPv6 client, this sets the IPv6 address granted by the DHCPv6 server for the VLAN interface.
This command can be set for a VLAN interface for which the ipv6 enable command has been set.
Only one address can be set with this command for one VLAN interface.
This command can be used with the ipv6 address and ipv6 address pd commands.
This command can be specified for a maximum of eight VLAN interface.
This cannot be set for VLAN interface that has already been set using the ipv6 dhcp client pd, ipv6 address autoconfig or
dhcpv6-server commands (only for models that support a DHCPv6 server).
If an IPv6 address has been obtained, you can execute the no ipv6 address dhcp command to send a release message for the
obtained IPv6 address to the DHCPv6 server.
If this command is executed with the "no" syntax, the DHCPv6 client setting is deleted.
If the ipv6 command is set to "disable", this command is also deleted.
[Note]
If the IPv6 address is automatically set using this command, the prefix length is set to "/128".
If this command is set regardless of whether the received RA "M" flag is on or off, DHCPv6 stateful operations (IA_NA) are
enabled.
Command Reference | Layer 3 functions | 239