The arp learning disable command disables the dynamic Address Resolution Protocol (ARP) entry learning function on an interface.
The undo arp learning disable command enables the dynamic ARP entry learning function on an interface.
By default, the dynamic ARP entry learning function is enabled on an interface.
100ge sub-interface view, 100GE interface view, 10GE sub-interface view, 10GE interface view, 200GE sub-interface view, 25GE sub-interface view, 25GE interface view, 400GE sub-interface view, 400GE interface view, 40GE sub-interface view, 40GE interface view, 50GE sub-interface view, 50GE interface view, Eth-Trunk sub-interface view, Eth-Trunk interface view, FlexE interface view, GE optical interface view, GE sub-interface view, GE interface view, GE electrical interface view, Global VE sub-interface view, PW-VE sub-interface view, PW-VE interface view, VBDIF interface view, VE sub-interface view, VLANIF interface view, Management interface view
Usage Scenario
To ensure network security or facilitate network management, you can enable or disable dynamic ARP entry learning on an interface. You can run the arp learning disable command together with the arp-limit or arp learning strict command to better control dynamic ARP entry learning on an interface.
Configuration Impact
If dynamic ARP entry learning is disabled on an interface, traffic forwarding may fail on this interface.
Precautions
After dynamic ARP entry learning is disabled on an interface, the system will not automatically delete the ARP entries that were learnt previously on this interface. You can choose to delete or retain these dynamic ARP entries as required.
<HUAWEI> system-view [~HUAWEI] interface GigabitEthernet 0/1/0 [~HUAWEI-GigabitEthernet0/1/0] arp learning disable
<HUAWEI> system-view [~HUAWEI] interface GigabitEthernet 0/1/0 [~HUAWEI-GigabitEthernet0/1/0] undo arp learning disable