R3303-HP HSR6800 Routers Layer 3 - IP Services Configuration Guide

146
If you use Method 2, make sure 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. The device associates
the VLAN interface with the neighbor IPv6 address to identify the static neighbor entry.
To configure a static neighbor entry:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Configure a static
neighbor entry.
ipv6 neighbor ipv6-address mac-address { vlan-id
port-type port-number | interface interface-type
interface-number } [ vpn-instance
vpn-instance-name ]
By default, no static neighbor
entry exists on the device.
The vlan-id argument and the
port-type port-number
argument are supported only
on the routers configured with
SAP modules.
Configuring the maximum number of neighbors dynamically
learned
The device can dynamically acquire the link-layer address of a neighboring node through NS and NA
messages and add it into the neighbor table. A large table may reduce the forwarding performance of
the device. 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 stops learning neighbor information.
To configure the maximum number of neighbors dynamically learned:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Enter interface view.
interface interface-type
interface-number
N/A
3. Configure the maximum
number of neighbors that can
be dynamically learned by an
interface.
ipv6 neighbors max-learning-num
number
Optional.
By default, a Layer 2 interface does
not limit the number of neighbors
dynamically learned. A Layer 3
interface can dynamically learn a
maximum of 4096 neighbors.
Setting the aging timer for ND entries in stale state
ND entries in stale state have an aging timer. If an ND entry in stale state is not refreshed before the timer
expires, it transits to the delay state. If it is still not refreshed in 5 seconds, the ND entry transits to the
probe state, and the device sends an NS message for detection. If no response is received, the device
removes the ND entry.
To set the aging timer for ND entries in stale state: