ipv6 address autoconfig
Syntax
ipv6 address autoconfig
no ipv6 address autoconfig
Description
Implements unicast address autoconfiguration as follows:
-
If IPv6 is not already enabled on the VLAN, enables IPv6 and generates a link-local (EUI-64) address.
-
Generates router solicitations (RSs) on the VLAN.
-
If an RA is received on the VLAN, the switch uses the route prefix in the RA to configure a global unicast address. The interface identifier for this address is the same as the interface identifier used in the current link-local address at the time the RA is received. This can be either a statically configured or the (automatic) EUI-64 interface identifier, depending on how the link-local address was configured.If an RA is not received on the VLAN after autoconfig is enabled, a link-local address is present, but no global unicast addresses are autoconfigured.NOTE:
If a link-local address is already configured on the VLAN, a later, autoconfigured global unicast address, use the same interface identifier as the link-local address.
Default: Disabled.
The
no
form of the command produces different results, depending on how IPv6 is configured on the VLAN: If IPv6 was enabled only by the
autoconfig
command, deleting this command disables IPv6 on the VLAN.