Setting the dynamic ARP learning limit for a device

About the dynamic ARP learning limit for a device

A device can dynamically learn ARP entries. To prevent a device from holding too many ARP entries, you can set the maximum number of dynamic ARP entries that the device can learn. When the limit is reached, the device stops ARP learning.

If you set a value lower than the number of existing dynamic ARP entries, the device does not delete the existing entries unless they age out. You can use the reset arp dynamic command to clear dynamic ARP entries.

Procedure

  1. Enter system view.

    system-view

  2. Set the dynamic ARP learning limit for the device.

    arp max-learning-number max-number slot slot-number

    By default, the device can learn a maximum of 768000 dynamic ARP entries.

    To disable the device from dynamic ARP learning, set the value to 0.