Pcornel
Networking · Network & Protocols › Layer 2 Security Protocol Reference

Dynamic ARP Inspection Deep Reference

Cheat sheet · https://pcornel.dk/topic.php?topic=257

Back to the Topic

Answer

Dynamic ARP Inspection makes a switch check every ARP packet arriving on a user port against its record of which IP address belongs to which MAC address on which port, and drop those that claim something else.

Remember

It relies on the DHCP snooping binding table. Uplinks and ports towards other switches must be trusted, or the gateway's ARP replies are dropped and the whole VLAN loses connectivity. Devices with static addresses have no binding and need an ARP access list.

First checks

  • show ip arp inspection vlan <id> — active for the VLAN?
  • show ip arp inspection interfaces — trust state and rate limit per port.
  • show ip arp inspection statistics vlan <id> — forwarded and dropped ARP packets.
  • show ip dhcp snooping binding — the bindings the switch will accept.
  • show logging | include DAI — each denied packet with port and addresses.

Commands

ip arp inspection vlan 110,120
ip arp inspection trust
ip arp inspection limit rate 30
ip arp inspection filter <acl> vlan <id>
ip arp inspection validate src-mac dst-mac ip
ip arp inspection limit rate <pps>
ip dhcp snooping database

Verify in this order

DHCP snooping builds bindings → inspection enabled on the VLAN → uplinks trusted → ARP on untrusted ports matches a binding or an ARP access list → forwarded; otherwise dropped and logged

Where it usually breaks

physical/link dependency → local object state → peer/control state → policy → forwarding/adjacency → end-to-end result

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=257

Confirmation

Confirm action

Continue?