IPv6 addresses must be configured for routing device interfaces so that the routing devices can communicate with IPv6 devices.
Link-local addresses are used in neighbor discovery (ND) and in the communication between nodes on the local link during stateless address autoconfiguration. The packets with link-local addresses as source or destination addresses are forwarded only on the local link.
Link-local addresses can be automatically generated or manually configured.
After IPv6 is enabled on an interface, the system automatically generates a link-local address for the interface.
The link-local address that is manually configured must be valid (usually with the FE80::/10 prefix).
Link-local addresses are usually used for protocol communication between link-local nodes, meaning that these addresses are not directly related to the communication between users. Therefore, automatic generation of link-local addresses is recommended.
interface interface-type interface-number
Configure the device to automatically generate a link-local address for the interface.
ipv6 address auto link-local
Manually configure a link-local address for the interface.
ipv6 address ipv6-address link-local
Only a single link-local address can be configured on an interface. If you configure multiple link-local addresses on the same interface, only the last configuration takes effect.
quit