arp max-learning-num
Syntax
arp max-learning-num number
undo arp max-learning-num
View
Layer 2 Ethernet interface view, Layer 3 Ethernet interface view, VLAN interface view, Layer 2 aggregate interface view, Layer 3 aggregate interface view
Default level
2: System level
Parameters
number: Specifies the maximum number of dynamic ARP entries that an interface can learn.
On the HPE FlexNetwork 3600 v2 EI switch series, the number argument ranges from 0 to 8192.
On the HPE FlexNetwork 3600 v2 SI switch series, the number argument ranges from 0 to 2048.
Description
Use arp max-learning-num to configure the maximum number of dynamic ARP entries that an interface can learn.
Use undo arp max-learning-num to restore the default.
By default, a Layer 2 interface does not limit the number of dynamic ARP entries. A Layer 3 interface on the HPE FlexNetwork 3600 v2 EI switch series can learn up to 8192 dynamic ARP entries. A Layer 3 interface on the HPE FlexNetwork 3600 v2 SI switch series can learn up to 2048 dynamic ARP entries.
When the number argument is set to 0, the interface is disabled from learning dynamic ARP entries.
Examples
# Specify VLAN-interface 40 to learn up to 50 dynamic ARP entries.
<Sysname> system-view [Sysname] interface vlan-interface 40 [Sysname-Vlan-interface40] arp max-learning-num 50
# Specify Ethernet 1/0/1 to learn up to 100 dynamic ARP entries.
<Sysname> system-view [Sysname] interface Ethernet 1/0/1 [Sysname-Ethernet1/0/1] arp max-learning-num 100
# Specify Layer 2 aggregate interface bridge-aggregation 1 to learn up to 100 dynamic ARP entries.
<Sysname> system-view [Sysname] interface bridge-aggregation 1 [Sysname-Bridge-Aggregation1] arp max-learning-num 100
# Specify Layer 3 aggregate interface route-aggregation 1 to learn up to 100 dynamic ARP entries.
<Sysname> system-view [Sysname] interface route-aggregation 1 [Sysname-Route-Aggregation1] arp max-learning-num 100