ipv6 address link-local
Function
The ipv6 address link-local command manually configures a link-local address for a specified interface.
The undo ipv6 address link-local command deletes the manually configured link-local address on an interface.
By default, no link-local address is configured for an interface.
Parameters
Parameter | Description | Value |
---|---|---|
ipv6-address | Specifies the IPv6 address of an interface. | The value is a 32-digit hexadecimal number, in the X:X:X:X:X:X:X:X format. When a link-local address is being configured, the prefix of the specified IPv6 address must match FE80::/10. |
Usage Guidelines
Usage Scenario
Link-local addresses are used for the communication between nodes on the same local link in neighbor discovery or stateless autoconfiguration. The packets with link-local addresses as the source or destination addresses are not forwarded to other links, that is, link-local addresses are valid only on local links.
You can run the ipv6 address link-local command to manually configure a link-local address for an interface.
Prerequisites
The IPv6 function has been enabled on the interface using the ipv6 enable command in the interface view.
Configuration Impact
The link-local address configured using this command will override the link-local address automatically generated by the system.
Precautions
Avoid changing link-local addresses.
You can configure multiple IPv6 addresses but only one link-local address for an interface.
The link-local address configured using the ipv6 address link-local command will override the link-local address automatically generated by the system.
The undo ipv6 address link-local command deletes only the link-local address manually configured for an interface. To delete the automatically generated link-local address, run the undo ipv6 address auto link-local command.
- Loopback address (::1/128)
- Unspecified address (::/128)
- Multicast address