510 CHAPTER 38: IPV6 BASICS CONFIGURATION
■ You need to execute the ipv6 address auto link-local command before the 
undo ipv6 address auto link-local command. However, if an IPv6 site-local 
address or aggregatable global unicast address is already configured for an 
interface, the interface still has a link-local address because the system 
automatically generates one for the interface. If no IPv6 site-local address or 
aggregatable global unicast address is configured, the interface has no 
link-local address.
Configuring IPv6 NDP
Configuring a Static
Neighbor Entry
The IPv6 address of a neighbor node can be resolved into a link-layer address 
dynamically through NS and NA messages or through a manually configured 
neighbor entry.
The device uniquely identifies a static neighbor entry according to the IPv6 address 
and the layer 3 interface ID. Currently, there are two configuration methods:
■ Configure an IPv6 address and link-layer address for a Layer 3 interface.
■ Configure an IPv6 address and link-layer address for a port in a VLAN.
Follow these steps to configure a static neighbor entry:
c
CAUTION: You can adopt either of the two methods above to configure a static 
neighbor entry for a VLAN interface.
■ After a static neighbor entry is configured by using the first method, the device 
needs to resolve the corresponding Layer 2 port information of the VLAN 
interface.
■ If you adopt the second method to configure a static neighbor entry, you 
should ensure that 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 relates the VLAN 
interface to an IPv6 address to uniquely identify a static neighbor entry.
Configuring the
Maximum Number of
Neighbors Dynamically
Learned
The device can dynamically acquire the link-layer address of a neighbor node and 
add it into the neighbor table through NS and NA messages. Too large a neighbor 
table from which neighbor entries can be dynamically acquired may lead to the 
forwarding performance degradation of the device. Therefore, you can restrict the 
size of the neighbor table by setting the maximum number of neighbors that an 
interface can dynamically learn. When the number of dynamically learned 
neighbors reaches the threshold, the interface will stop learning neighbor 
information.
Follow these steps to configure the maximum number of neighbors dynamically 
learned:
To do…  Use the command…  Remarks 
Enter system view  system-view - 
Configure a static 
neighbor entry 
ipv6 neighbor ipv6-address mac-address 
{ vlan-id port-type port-number | interface 
interface-type interface-number } 
Required