214
Step Command Remarks
3. Manually specify an IPv6
link-local address for the
interface.
ipv6 address
ipv6-address
link-local
By default, no link-local address is
configured on an interface.
After an IPv6 global unicast address is
configured on the interface, a link-local
address is generated automatically.
After you configure an IPv6 global unicast address for an interface, the interface automatically
generates a link-local address. The automatically generated link-local address is the same as the
one generated by using the ipv6 address auto link-local command. If a link-local address is
manually assigned to an interface, this manual link-local address takes effect. If the manually
assigned link-local address is removed, the automatically generated link-local address takes effect.
Using the undo ipv6 address auto link-local command on an interface only removes the link-local
address generated by the ipv6 address auto link-local command. If the interface has an IPv6
global unicast address, it still has a link-local address. If the interface has no IPv6 global unicast
address, it has no link-local address.
Configuring an IPv6 anycast address
Step Command Remarks
1. Enter system view.
system-view
N/A
2. Enter interface view.
interface
interface-type
interface-number
N/A
3. Configure an IPv6 anycast
address.
ipv6 address
{ ipv6-address
prefix-length |
ipv6-address/prefix-length }
anycast
By default, no IPv6 anycast
address is configured on an
interface.
Configuring IPv6 ND
This section describes how to configure IPv6 ND.
Configuring a static neighbor entry
A neighbor entry stores information about a link-local node. The entry can be created dynamically
through NS and NA messages, or configured statically.
The device uniquely identifies a static neighbor entry by the IPv6 address and the local Layer 3
interface number of the neighbor. You can configure a static neighbor entry by using one of the
following methods:
• Method 1—Associate a neighbor's IPv6 address and link-layer address with the local Layer 3
interface.
If you use Method 1, the device automatically finds the Layer 2 port connected to the neighbor.
• Method 2—Associate a neighbor's IPv6 address and link-layer address with a Layer 2 port in a
VLAN.
If you use Method 2, make sure the Layer 2 port belongs to the specified VLAN and the
corresponding VLAN interface already exists. The device associates the VLAN interface with
the neighbor IPv6 address to identify the static neighbor entry.