1-11Configuring 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 statically through manual configuration.You can configure a static neighbor entry in two ways:z Mapping a VLAN interface to an IPv6 address and a link-layer addressz Mapping a port in a VLAN to an IPv6 address and a link-layer addressIf you configure a static neighbor entry in the second way, make sure the corresponding VLAN interfaceexists. In this case, the device associates the VLAN interface to the IPv6 address to uniquely identify astatic neighbor entry.Follow these steps to configure a static neighbor entry:To do... Use the command... RemarksEnter system view system-view —Configure a static neighbor entryipv6 neighbor ipv6-addressmac-address { vlan-id port-typeport-number | interfaceinterface-type interface-number }RequiredConfiguring 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 to the neighbor table. Too large a neighbor table may lead to the forwardingperformance degradation of the device. Therefore, you can restrict the size of the neighbor table bysetting the maximum number of neighbors that an interface can dynamically learn. When the number ofdynamically learned neighbors reaches the threshold, the interface will stop learning neighborinformation.Follow these steps to configure the maximum number of neighbors dynamically learned:To do… Use the command… RemarksEnter system view system-view —Enter VLAN interface view interface interface-typeinterface-number —Configure the maximum number ofneighbors dynamically learned byan interfaceipv6 neighborsmax-learning-num numberOptionalThe default value is 2,048Configuring the attempts to send an ns message for duplicate address detectionThe device sends a neighbor solicitation (NS) message for duplicate address detection. If the devicedoes not receive a response within a specified time (set by the ipv6 nd ns retrans-timer command),the device continues to send an NS message. If the device still does not receive a response after thenumber of attempts to send an NS message reaches the maximum, the device judges the acquiredaddress is available.