228
Predefined user roles
network-admin
Usage guidelines
Link-local addresses are used for neighbor discovery and stateless autoconfiguration on the local
link. Packets using link-local addresses as the source or destination addresses cannot be forwarded
to other links.
After an IPv6 global unicast address is configured for an interface, a link-local address is
automatically generated. This link-local address is the same as the one generated by using the ipv6
address auto link-local command.
The undo ipv6 address auto link-local command deletes only the link-local addresses generated
through the ipv6 address auto link-local command. If the undo command is executed on an
interface with an IPv6 global unicast address configured, the interface still has a link-local address.
You can also manually assign an IPv6 link-local address for an interface by using the ipv6 address
link-local command. Manual assignment takes precedence over automatic generation for IPv6
link-local addresses.
• If you first use automatic generation and then manual assignment, the manually assigned
link-local address overwrites the automatically generated address.
• If you first use manual assignment and then automatic generation, both of the following occur:
{ The automatically generated link-local address does not take effect.
{ The link-local address of an interface is still the manually assigned address.
If you delete the manually assigned address, the automatically generated link-local address
takes effect.
Examples
# Configure VLAN-interface 100 to automatically generate a link-local address.
<Sysname> system-view
[Sysname] interface vlan-interface 100
[Sysname-Vlan-interface100] ipv6 address auto link-local
Related commands
ipv6 address link-local
ipv6 address eui-64
Use ipv6 address eui-64 to configure an EUI-64 IPv6 address for an interface.
Use undo ipv6 address eui-64 to delete an EUI-64 IPv6 address from an interface.
Syntax
ipv6 address { ipv6-address prefix-length | ipv6-address/prefix-length } eui-64
undo ipv6 address [ ipv6-address prefix-length | ipv6-address/prefix-length ] eui-64
Default
No EUI-64 IPv6 address is configured for an interface.
Views
Interface view
Predefined user roles
network-admin