Syntax:
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 allowed per VLAN interface.)
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.
NOTE: 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 apermanent
lifetime.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.
See also About disabling IPv6 on a VLAN.