Configuring a link-local IPv6 address as a system-wide address for a switch

To enable IPv6 and automatically configure a global interface enter commands such as the following.

device(config)# ipv6 enable

This command enables IPv6 on the switch and specifies that the interface is assigned an automatically computed link-local address.

To override a link-local address that is automatically computed for the global interface with a manually configured address, enter a command such as the following.

device(config)# ipv6 address FE80::240:D0FF:FE48:4672 link-local

This command explicitly configures the link-local address FE80::240:D0FF:FE48:4672 for the global interface.

You must specify the ipv6-address parameter in hexadecimal using 16-bit values between colons as documented in RFC 2373.

The link-local keyword indicates that the router interface should use the manually configured link-local address instead of the automatically computed link-local address.