Commands to view the current IPv6 addressing configuration

Use these commands to view the status of the IPv6 configuration on the switch.

show ipv6

Lists the current global IPv6 settings and per-VLAN IPv6 addressing on the switch.

IPv6 Routing

For software releases K.13.01 through K.14.01, this setting is always Disabled. This is a global setting and is not configured per-VLAN.

Default Gateway

Lists the IPv4 default gateway, if any, configured on the switch. This is a globally configured router gateway address and is not configured per-VLAN.

ND DAD

Indicates whether DAD is enabled (the default) or disabled. Using ipv6 nd dad-attempts 0 disables ND.

DAD Attempts

Indicates the number of neighbor solicitations the switch transmits per-address for duplicate (IPv6) address detection. Implemented when a new address is configured or when an interface with configured addresses (such as after a reboot). Default: 3; Range: 0 – 255 ms. 0 disables duplicate address detection.

VLAN Name

Lists the name of a VLAN statically configured on the switch.

IPv6 Status

For the indicated VLAN, shows whether IPv6 is disabled (the default) or enabled.

Address Origin
Autoconfig

The address was configured using SLAAC. In this case, the interface identifier for global unicast addresses copied from the current link-local unicast address.

DHCP

The address was assigned by a DHCPv6 server. Addresses having a DHCP origin are listed with a 128-bit prefix length.

Manual

The address was statically configured on the VLAN.

IPv6 Address/Prefix Length

Lists each IPv6 address and prefix length configured on the indicated VLAN.

Address Status
Tentative

DAD has not yet confirmed the address as unique, and it is not usable for sending and receiving traffic.

Preferred

The address has been confirmed as unique by DAD and usable for sending and receiving traffic. The Expiry time shown for this address by the show ipv6 vlan vid command output is the preferred lifetime assigned to the address.

Deprecated

The preferred lifetime for the address has been exceeded, but there is time remaining in the valid lifetime.

Duplicate

Indicates a statically configured IPv6 address that is a duplicate of another IPv6 address that exists on another device belonging to the same VLAN interface. A duplicate address is not used.

Example output

This example shows the output on a switch having IPv6 enabled on one VLAN.

Switch# show ipv6
Internet (IPv6) Service

  IPv6 Routing    : Enabled
  ND DAD          : Enabled
  DAD Attempts    : 3


                    VLAN Interfaces
  Interface Name  : DEFAULT_VLAN
  IPv6 Status     : Disabled
  Layer 3 Status  : Enabled

  Interface Name  : VLAN22
  IPv6 Status     : Enabled
  Layer 3 Status  : Enabled

  Address    |                                    Address
  Origin     | IPv6 Address/Prefix Length         Status
  ---------- + ---------------------------------- ---------
  autoconfig | fe80::218:71ff:feb9:8500/64        tentative


  Tunnel Interfaces

 Interface Name   : TUNNEL3
 IPv6 Status      : Enabled
 Layer 3 Status   : NA

  Address    |                                    Address
  Origin     | IPv6 Address/Prefix Length         Status
  ---------- + --------------------------------—- ---------
  autoconfig | fe80::218:71ff:feb9:8500/64        tentative