Step
2.
Enter interface view.
3.
Configure an IPv6 anycast
address.
Configuring IPv6 ND
The following topics apply to configuring IPv6 ND.
Configuring a static neighbor entry
The IPv6 address of a neighboring node can be resolved into a link-layer address dynamically through
NS and NA messages or through a manually configured static neighbor entry.
The device uniquely identifies a static neighbor entry by the neighbor's IPv6 address and the local Layer
3 interface number. You can configure a static neighbor entry by using one of the following methods:
Method 1—Associate a neighbor IPv6 address and link-layer address with the Layer 3 interface of
•
the local node.
Method 2—Associate a neighbor IPv6 address and link-layer address with a port in a VLAN
•
containing the local node.
You can use one of the methods to configure a static neighbor entry for a VLAN interface:
After you use the first method to configure a static neighbor entry, the device must resolve the
•
corresponding Layer 2 port information of the VLAN interface.
If you use the second method, make sure the corresponding VLAN interface exists and that the Layer
•
2 port specified by port-type port-number belongs to the VLAN specified by vlan-id. After a static
neighbor entry is configured, the device associates the VLAN interface with the IPv6 address to
identify the static neighbor entry uniquely.
To configure a static neighbor entry:
Step
1.
Enter system view.
2.
Configure a static neighbor
entry.
Configuring the maximum number of neighbors dynamically
learned
The device can dynamically acquire the link-layer address of a neighboring node through NS and NA
messages and add it into the neighbor table. A large table may reduce the forwarding performance of
the device. You can restrict the size of the neighbor table by setting the maximum number of neighbors
Command
interface interface-type
interface-number
ipv6 address
ipv6-address/prefix-length anycast
Command
system-view
ipv6 neighbor ipv6-address mac-address { vlan-id port-type port-number
| interface interface-type interface-number } [ vpn-instance
vpn-instance-name ]
118
Remarks
N/A
Optional.
By default, no IPv6 anycast
address is configured on an
interface.