R0106-HP MSR Router Series Layer 3 - IP Services Command Reference(V7)

286
ipv6 neighbors max-learning-num
Use ipv6 neighbors max-learning-num to set the maximum number of dynamic neighbor entries that an
interface can learn. This prevents the interface from occupying too many neighbor table resources.
Use undo ipv6 neighbors max-learning-num to restore the default.
Syntax
ipv6 neighbors max-learning-num number
undo ipv6 neighbors max-learning-num
Views
Layer 2/Layer 3 interface view
Layer 3 aggregate interface view
Predefined user roles
network-admin
Parameters
number: Specifies the maximum number of dynamic neighbor entries that an interface can learn.
The following matrix shows the value ranges and default values for the number argument:
Hardware Value range Default
MSR2000 1 to 2048 2048
MSR3000 1 to 4096 4096
MSR4000 1 to 4096 4096
Usage guidelines
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.
Examples
# Set the maximum number of dynamic neighbor entries that GigabitEthernet 2/1/1 can learn to 10.
<Sysname> system-view
[Sysname] interface gigabitethernet 2/1/1
[Sysname-GigabitEthernet2/1/1] ipv6 neighbors max-learning-num 10
ipv6 pathmtu
Use ipv6 pathmtu to configure a static Path MTU for an IPv6 address.
Use undo ipv6 pathmtu to remove the Path MTU configuration for an IPv6 address.
Syntax
ipv6 pathmtu [ vpn-instance vpn-instance-name ] ipv6-address value
undo ipv6 pathmtu [ vpn-instance vpn-instance-name ] ipv6-address