R21xx-HP FlexFabric 11900 Layer 3 IP Services Command Reference

188
Predefined user roles
network-admin
Usage guidelines
After a global unicast address is generated through stateless autoconfiguration, a link-local address is
generated automatically. The link-local address can be removed only by executing the undo ipv6
address auto command.
Examples
# Enable stateless address autoconfiguration on VLAN-interface 100.
<Sysname> system-view
[Sysname] interface vlan-interface 100
[Sysname-Vlan-interface100] ipv6 address auto
ipv6 address auto link-local
Use ipv6 address auto link-local to automatically generate a link-local address for an interface.
Use undo ipv6 address auto link-local to remove the automatically generated link-local address for the
interface.
Syntax
ipv6 address auto link-local
undo ipv6 address auto link-local
Default
No link-local address is configured on an interface, and a link-local address is automatically generated
after an IPv6 global unicast address is configured for the interface.
Views
Interface view
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, an automatically generated link-local
address is the same as the one generated by using the ipv6 address auto link-local command.
Only use the undo ipv6 address auto link-local command to remove the link-local addresses generated
through the ipv6 address auto link-local command.
After the undo ipv6 address auto link-local command is used on an interface that has an IPv6
global unicast address configured, the interface still has a link-local address.