Examples
# Set the age timer for ND entries in stale state to two hours.
<Sysname> system-view
[Sysname] ipv6 neighbor stale-aging 2
ipv6 neighbors max-learning-num
Syntax
ipv6 neighbors max-learning-num number
undo ipv6 neighbors max-learning-num
View
Layer 2 Ethernet port view, VLAN interface view, Layer 2 aggregate interface view
Default level
2: System level
Parameters
number: Maximum number of neighbors that can be dynamically learned by the interface, ranging from
1 to 2048.
Description
Use ipv6 neighbors max-learning-num to configure the maximum number of neighbors that can be
dynamically learned on the interface.
Use undo ipv6 neighbors max-learning-num to restore the default.
By default, a Layer 2 interface does not limit the number of neighbors dynamically learned. A Layer 3
interface can learn up to 2048 neighbors dynamically.
Examples
# Set the maximum number of neighbors that can be dynamically learned on VLAN-interface 100 to 10.
<Sysname> system-view
[Sysname] interface vlan-interface 100
[Sysname-Vlan-interface100] ipv6 neighbors max-learning-num 10
ipv6 pathmtu
Syntax
ipv6 pathmtu ipv6-address [ value ]
undo ipv6 pathmtu ipv6-address
View
System view
Default level
2: System level
Parameters
ipv6-address: IPv6 address.
value: Path MTU of a specified IPv6 address, ranging from 1280 to 10000 bytes.
136