Strict Address Resolution Protocol (ARP) learning enabled allows the device to learn the media access control (MAC) addresses of only the ARP reply packets in response to the ARP request packets sent by itself. Therefore, this function prevents attacks caused by sending ARP request packets and ARP reply packets that are not in response to the request packets that the device itself sends.
This function can be configured in the system view or interface view.
After receiving an ARP reply packet in response to the ARP request packet that the device itself sends, the device check whether the source IP address in the packet matches an ARP entry.
If no matching entry exists, the device creates an ARP entry using source IP and MAC addresses carried in the packet.
If a matching entry exists, the device updates the entry based on the source IP and MAC addresses carried in the packet.
After receiving an ARP request packet, the device sends an ARP reply packet and then creates an ARP entry.
After receiving an ARP reply packet, the device checks whether the packet is in response to an ARP request packets sent by itself. If so, the device creates an ARP entry or updates the existing ARP entry based on the packet. If not, the device does not create an ARP entry or update the existing ARP entry.
After receiving an ARP request packet, the device sends an ARP reply packet but does not create an ARP entry or update the existing ARP entry.
After strict ARP learning is enabled globally, strict ARP learning is enabled on all interfaces. When strict ARP learning is enabled globally: