1-12Configuring IPv6 NDPConfiguring a Static Neighbor EntryThe IPv6 address of a neighbor node can be resolved into a link-layer address dynamically through NSand NA messages or through a manually configured static neighbor entry.The device uniquely identifies a static neighbor entry according to the neighbor IPv6 address and thelocal Layer 3 interface ID. Currently, there are two configuration methods:z Associate a neighbor IPv6 address and link-layer address with a Layer 3 interface.z Associate a neighbor IPv6 address and link-layer address with a port in a VLAN.Follow these steps to configure a static neighbor entry:To do... Use the command... RemarksEnter system view system-view —Configure a staticneighbor entryipv6 neighbor ipv6-address mac-address { vlan-idport-type port-number | interface interface-typeinterface-number }RequiredYou can adopt either of the two methods above to configure a static neighbor entry.z After a static neighbor entry is configured by using the first method, the device needs to resolve thecorresponding Layer 2 port information of the VLAN interface.z If you adopt the second method, you should ensure that the corresponding VLAN interface existsand that the Layer 2 port specified by port-type port-number belongs to the VLAN specified byvlan-id. After a static neighbor entry is configured, the device relates the VLAN interface to the IPv6address to uniquely identify a static neighbor entry.Configuring the Maximum Number of Neighbors Dynamically LearnedThe device can dynamically acquire the link-layer address of a neighbor node through NS and NAmessages and add it into the neighbor table. Too large a neighbor table may reduce the forwardingperformance of the device. You can restrict the size of the neighbor table by setting the maximumnumber of neighbors that an interface can dynamically learn. When the number of dynamically learnedneighbors 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… RemarksEnter system view system-view —Enter interface view interface interface-typeinterface-number —Configure the maximum number ofneighbors dynamically learned by aninterfaceipv6 neighborsmax-learning-num numberOptionalThe default value is 128.