IPv6 Configuration Guide K/KA/KB.15.15

3. If an IPv6 router is connected on the VLAN, enable IPv6 address autoconfiguration to
automatically configure global unicast addresses with prefixes included in advertisements
received from the router. The interface identifier used in addresses configured by this method
is the same as the interface identifier in the current link-local address.
4. If needed, statically configure IPv6 unicast addressing on the VLAN interface as needed. This
can include statically replacing the automatically generated link-local address.
Configuring IPv6 addressing
In the default configuration on a VLAN, any one of the following commands enables IPv6 and
creates a link-local address. Thus, while any one of these methods is configured on a VLAN, IPv6
remains enabled and a link-local address is present.
ipv6 enable
See “Enabling IPv6 with an automatically configured link-local address
(page 13).
ipv6 address autoconfig
See “Enabling autoconfiguration of a global unicast address and a default
router identity on a VLAN” (page 14).
ipv6 address dhcp full [ rapid-commit ]
See “Enabling DHCPv6” (page 15).
ipv6 address fe80:0:0:0:
See interface-identifier link-local “Statically configuring a
link-local unicast address” (page 18).
ipv6 address
See prefix:interface-identifier “Statically configuring a global
unicast address” (page 19).
NOTE: Addresses created by any of these methods remain tentative until verified as unique by
DAD.
Configuring IP source-interface addressing
Syntax
ipv6 source-interface [protocol-ID | all][loopback <ID> |
vlan <vlan-ID> | <IPV6-ADDR>]
[no]ipv6 source-interface[protocol-ID | all]
Defines the source IP address selection policy for the application protocols.
The use of the [no] form of the command reverts the application protocols to a
default behavior when the IP address of the outgoing interface is used as the source.
The name of application protocol to apply the source IP address selection
policy to.
protocol-ID
The loopback interface to use as the source IP address provider for the
application protocol. If multiple IP addresses are configured on the interface
the lexicographically lowest IP address will be used.
loopback <ID>
The VLAN interface to use as the source IP address provider for the
application protocol. If multiple IP addresses are configured on the interface
the lexicographically lowest IP address will be used.
vlan <vlan-ID>
The specific IPv6 address to use as the source in the protocol generated
outgoing IP packets.
<IPv6-addr>
12 IPv6 Addressing Configuration