Setting the maximum number of dynamic ARP entries 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 maximum number is reached, the device stops learning ARP entries.
If you set a value lower than the number of existing dynamic ARP entries, the device does not remove the existing entries unless they are aged out.
To set the maximum number of dynamic ARP entries for a device:
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. Set the maximum number of dynamic ARP entries for the device. | arp max-learning-number max-number slot slot-number | By default, the maximum number of dynamic ARP entries that a device can learn is 8192. To disable the device from learning dynamic ARP entries, set the number to 0. |