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.
Follow these steps to configure the attempts to send an NS message for duplicate address detection:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter VLAN interface view
interface interface-type
interface-number
—
Configure the attempts to send
an NS message for duplicate
address detection
ipv6 nd dad attempts value
Optional
1 by default. When the
value
argument is set to 0, the
duplicate address detection is
disabled.
Configuring the NS Interval
After a device sends an NS message, if it does not receive a response within a specific period, the
device will send another NS message. You can configure the interval for sending NS messages.
Follow these steps to configure the NS interval:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter VLAN interface view
interface interface-type
interface-number
—
68-11