arp max-learning-number
Use arp max-learning-number to set the dynamic ARP learning limit for a device.
Use undo arp max-learning-number to restore the default.
Syntax
In standalone mode:
arp max-learning-number max-number slot slot-number
undo arp max-learning-number slot slot-number
In IRF mode:
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 following matrix shows the default value for the dynamic ARP learning limit:
Hardware | ARP learning limit on the device | |
---|---|---|
HPE 12900E switch series | FE cards HF cards | The limit depends on the ARP table capacity set by using the hardware-resource tcam command. For information about this command, see Fundamentals Command Reference. |
Other F cards | 16000 | |
Other H cards | 48000 | |
HPE 12900 switch series | FE cards | The limit depends on the ARP table capacity set by using the hardware-resource tcam command. For information about this command, see Fundamentals Command Reference. |
Other cards | 16000 | |
HPE 7900 switch series | 16000 |
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 following matrix shows the value range for the max-number argument:
Hardware | Value range | |
---|---|---|
HPE 12900E switch series | FE cards HF cards | 0 to n. The value for n depends on the ARP table capacity set by using the hardware-resource tcam command. |
Other F cards | 0 to 16000 | |
Other H cards | 0 to 48000 | |
HPE 12900 switch series | FE cards | 0 to n. The value for n depends on the ARP table capacity set by using the hardware-resource tcam command. |
Other cards | 0 to 16000 | |
HPE 7900 switch series | 0 to 16000 |
slot slot-number: Specifies a card by its slot number. (In standalone mode.)
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. (In IRF mode.)
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
# Set the dynamic ARP learning limit to 64 for slot 1.
<Sysname> system-view [Sysname] arp max-learning-number 64 slot 1