arp max-learning-number
Use arp max-learning-number to set the maximum number of dynamic ARP entries that a device can learn.
Use undo arp max-learning-number to restore the default.
Syntax
arp max-learning-number max-number slot slot-number
undo arp max-learning-number slot slot-number
arp max-learning-number max-number chassis chassis-number slot slot-number
undo arp max-learning-number chassis chassis-number slot slot-number
Default
The maximum number of dynamic ARP entries that a device can learn depends on the maximum free space of the ARP table.
Views
System view
Predefined user roles
network-admin
mdc-admin
Parameters
max-number: Specifies the maximum number of dynamic ARP entries for a device. The value range for this argument is 0 to 184320.
slot slot-number: Specifies a card by its slot number.
chassis chassis-number slot slot-number: Specifies a card on an IRF member device. The chassis-number argument represents the member ID of the IRF member device. The slot-number argument represents the slot number of the card.
Usage guidelines
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.
When the number argument is set to 0, the device is disabled from learning dynamic ARP entries.
Examples
# Configure the device to learn a maximum of 64 dynamic ARP entries.
<Sysname> system-view [Sysname] arp max-learning-number 64