Setting the dynamic ARP learning limit for an interface
About setting the dynamic ARP learning limit for an interface
An interface can dynamically learn ARP entries. To prevent an interface from holding too many ARP entries, you can set the maximum number of dynamic ARP entries that the interface can learn. When the limit is reached, the interface stops ARP learning.
You can set limits for both a Layer 2 interface and the VLAN interface for a permitted VLAN on the Layer 2 interface. The Layer 2 interface learns an ARP entry only when neither limit is reached.
The total dynamic ARP learning limit for all interfaces will not be higher than the dynamic ARP learning limit for the device.
Procedure
Enter system view.
system-view
Enter interface view.
interface interface-type interface-number [ alarm alarm-threshold ]
Set the dynamic ARP learning limit for the interface.
arp max-learning-num max-number
By default, an interface can learn a maximum of 768000 dynamic ARP entries.
To disable the interface from dynamic ARP learning, set the value to 0.