ipv6 address autoconfig
Syntax
ipv6 address autoconfig
no ipv6 address autoconfig
Description
Enables the interface to automatically obtain an IPv6 address using router advertisement information and the EUI-64 identifier.
The
no
form of this command disables address auto-configuration.
NOTE:
- A maximum of 15 autoconfigured addresses are supported.
- This command automatically creates an IPv6 link-local address on the interface. However, it does not add the
ipv6 address link-local
command to the running configuration. If you remove the IPv6 address, the link-local address is also removed. To maintain the link-local address, you must manually execute theipv6 address link-local
command.
Command context
config-if
Authority
Operators or Administrators. Users without administrator authority can execute this command from the operator context (>) only.
Usage
The IPv6 SLAAC feature lets the router obtain the IPv6 address for the interface it is configured through the SLAAC method. This feature is not available on the
mgmt
VRF.
Example
Enabling unicast autoconfiguring:
switch(config)# interface 1/1/1 switch(config-if)# ipv6 address autoconfig
Disabling unicast autoconfiguring:
switch(config)# interface 1/1/1 switch(config-if)# no ipv6 address autoconfig