R0106-HP MSR Router Series Layer 3 - IP Services Configuration Guide(V7)

206
Method 2—Associate a neighbor's IPv6 address and link-layer address with a local port in a
VLAN.
If you use Method 2, make sure the corresponding VLAN interface exists and 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.
Setting the maximum number of dynamic neighbor entries
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. When the number of dynamic neighbor entries reaches the
threshold, the interface stops learning neighbor information. To prevent an interface from occupying too
many neighbor table resources, you can set the maximum number of dynamic neighbors that an
interface can learn.
To set the maximum number of dynamic neighbor entries:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Enter interface view.
interface interface-type interface-number N/A
3. Set the maximum
number of dynamic
neighbor entries
that the interface
can learn.
ipv6 neighbors max-learning-num
number
The default setting for MSR2000 is
2048.
The default setting for
MSR3000/MSR4000 is 4096.
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, the ND entry changes to the delay state. If it is still not refreshed in 5 seconds, the ND entry
changes to the probe state, and the device sends an NS message three times. If no response is received,
the device removes the ND entry.
To set the aging timer for ND entries in stale state:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Set the aging timer for
ND entries in stale state.
ipv6 neighbor stale-aging
aging-time
The default setting is 240 minutes.