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 number slot slot-number

undo arp max-learning-number slot slot-number

Default

A device can learn a maximum of 16384 dynamic ARP entries.

Views

System view

Predefined user roles

network-admin

Parameters

number: Specifies the maximum number of dynamic ARP entries for a device. The value range is 0 to 16384.

slot slot-number: Specifies an IRF member device by its member ID.

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 IRF member device in slot 1 to learn a maximum of 64 dynamic ARP entries.

<Sysname> system-view
[Sysname] arp max-learning-number 64 slot 1