ipv6 address link-local

Syntax

ipv6 address fe80::<interface-id> link-local

no ipv6 address fe80::<interface-id> link-local

Description

  • If IPv6 is not already enabled on the VLAN, this command enables IPv6 and configures a static link-local address.

  • If IPv6 is already enabled on the VLAN, this command overwrites the current, link-local address with the specified static address. (One link-local address is enabled per VLAN interface.)

For link-local addressing, the no form of the static IPv6 address command produces different results, depending on how IPv6 is configured on the VLAN:

  • If IPv6 was enabled only by a statically configured link-local address, deleting the link-local address disables IPv6 on the VLAN.

  • If other IPv6-enabling commands have been configured on the VLAN, deleting the statically configured link-local address causes the switch to replace it with the default (EUI-64) link-local address for the VLAN, and IPv6 remains enabled.

Options

<interface-id>

The low-order 64 bits, in 16-bit blocks, comprise this value in a link-local address:

xxxx xxxx : xxxx xxxx : xxxx xxxx : xxxx xxxx

Where a static link-local address is already configured, a new, autoconfigured global unicast addresses assignment uses the same interface identifier as the link-local address.

Usage

An existing link-local address is replaced, and is not deprecated, when a static replacement is configured. The prefix for a statically configured link-local address is always 64 bits, with all blocks after fe80 set to zero. That is: fe80:0:0:0. After verification of uniqueness by DAD, a statically configured link-local address status is set to preferred, with a permanent lifetime.