Configuring ipv6 ndp, Configuring a static neighbor entry – H3C Technologies H3C S3600 Series Switches User Manual
Page 1101
1-11
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 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 address
z
Mapping a port in a VLAN to an IPv6 address and a link-layer address
If you configure a static neighbor entry in the second way, make sure the corresponding VLAN interface
exists. In this case, the device associates the VLAN interface to the IPv6 address to uniquely identify a
static neighbor entry.
Follow these steps to configure a static neighbor entry:
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
Configuring the maximum number of neighbors dynamically learned
The device can dynamically acquire the link-layer address of a neighbor node through NS and NA
messages and add it to the neighbor table. Too large a neighbor table 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
—
Enter VLAN interface view
interface interface-type
interface-number
—
Configure the maximum
number of neighbors
dynamically learned by an
interface
ipv6 neighbors
max-learning-num number
Optional
The default value is 2,048
Configuring the attempts to send an ns message for duplicate address detection
The device sends a neighbor solicitation (NS) message for duplicate address detection. If the device
does 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 the
number of attempts to send an NS message reaches the maximum, the device judges the acquired
address is available.