R3303-HP HSR6800 Routers Layer 3 - IP Services Command Reference

Table Of Contents
202
Default
No IPv6 anycast address is configured for an interface.
Views
Interface view
Default command level
2: System level
Parameters
ipv6-address/prefix-length: Specifies an IPv6 anycast address and its prefix length. The value range for
the prefix length argument is 1 to 128.
Examples
# Set the IPv6 anycast address of GigabitEthernet 3/1/1 to 2001::1 with prefix length 64.
<Sysname> system-view
[Sysname] interface GigabitEthernet 3/1/1
[Sysname-GigabitEthernet3/1/1] ipv6 address 2001::1/64 anycast
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
Default command level
2: System level
Usage guidelines
After an IPv6 global unicast address is configured for an interface, a link-local address is generated
automatically. The automatically generated 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 can only 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. If the interface has no IPv6 global unicast address configured, it has no link-local
address.
Manual assignment takes precedence over automatic generation. If you first adopt automatic generation
and then manual assignment, the manually assigned link-local address overwrites the automatically