F3215-HP Load Balancing Module Network Management Command Reference-6PW101
80
ARP configuration commands
arp max-learning-num
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.
Syntax
arp max-learning-num number
undo arp max-learning-num
Default
A Layer 2 interface does not limit the number of dynamic ARP entries. A Layer 3 interface can learn a
maximum of 4096 dynamic ARP entries.
Views
Layer 2 Ethernet interface view, Layer 3 Ethernet interface view, Layer 3 Ethernet subinterface view, VLAN
interface view
Default command level
2: System level
Parameters
number: Maximum number of dynamic ARP entries that an interface can learn. The value ranges from 0
to 4096.
Usage guidelines
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 500 dynamic ARP entries.
<Sysname> system-view
[Sysname] interface vlan-interface 40
[Sysname-Vlan-interface40] arp max-learning-num 500
# Specify GigabitEthernet 0/1 to learn up to 1000 dynamic ARP entries.
<Sysname> system-view
[Sysname] interface gigabitethernet 0/1
[Sysname-GigabitEthernet0/1] arp max-learning-num 1000
arp static
Use arp static to configure a static ARP entry.
Use undo arp to remove an ARP entry.
Syntax
arp static ip-address mac-address [ vlan-id interface-type interface-number ]