IPv6 Configuration Guide K/KA/KB.15.15

Viewing the currently configured static IPv6 addresses per-VLAN
To view the currently configured static IPv6 addresses per-VLAN, use show run.
To view all currently configured IPv6 unicast addresses, use the following:
show ipv6 (Lists IPv6 addresses for all VLANs configured on the switch.)
show ipv6 vlan vid (Lists IPv6 addresses configured on VLAN vid.)
show ipv6 tunnel tunnel-id (Lists IPv6 addresses configured on tunnel tunnel-id.)
For more information, see “Viewing the current IPv6 addressing configuration” (page 21).
Operating notes
With IPv6 enabled, the switch determines the default IPv6 router for the VLAN from the RAs
it receives. See “View IPv6 gateway, route, and router neighbors” (page 26).
If DHCPv6 is configured on a VLAN, configuring a static global unicast address on the VLAN
removes DHCPv6 from the VLAN's configuration and deletes the DHCPv6-assigned global
unicast address.
For a statically configured global unicast address to be routable, a gateway router must be
transmitting RAs on the VLAN.
If an autoconfigured global unicast address already exists for the same subnet as a new,
statically configured global unicast address, the statically configured address is denied. In the
reverse case, you can add an autoconfig command to the VLAN configuration, but it is not
implemented unless the static address is removed from the configuration.
Assigning an IPv6 address to a loopback interface
The following command enables nondefault IPv6 address configuration on loopback interfaces.
Syntax:
[no] interface loopback 0 - 7 ipv6 address ipv6-addr
Configures an IPv6 address on a loopback interface identified by 0 - 7.
Use the no form of the command to remove nondefault IPv6 addresses from the
loopback interface.
NOTE: You cannot remove the (reserved) default loopback interface address
::1/128 from lo-0.
You can configure up to 32 IPv6 addresses (and up to 32 IPv4 addresses) on a loopback interface.
To configure an IPv6 address for the loopback interface, enter the ipv6 addressip-address
command at the loopback interface configuration level, as shown in the following example.
When you configure an IPv6 address for a loopback interface, you do not specify a prefix. The
default prefix/128 applies automatically.
20 IPv6 Addressing Configuration