Use it to stop a device on a VLAN from posing as the default gateway or another host — and when a legitimate device is cut off after it was enabled.
Dynamic ARP Inspection Deep Reference
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.
1. show logging | include DAI — which port, which addresses were denied?
2. show ip dhcp snooping binding — does that device have a binding on that port?
3. None, static address → add an ARP access list entry and ip arp inspection filter.
4. Whole VLAN down → show ip arp inspection interfaces: is the uplink trusted?
5. Port err-disabled → ARP rate above the limit; raise it if the device is legitimate.
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
show ip arp inspection vlan 20Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Operational verification Verify boundary
show ip arp inspection vlan 20
show ip arp inspection interfaces
show ip arp inspection statistics vlan 20
show ip dhcp snooping binding
show logging | include DAI
The first confirms DAI is active for the VLAN. The interface view lists each port's trust state and rate limit. The statistics count forwarded and dropped ARP packets. The binding table shows what the switch will accept; find the device's IP address there and check MAC, VLAN and port. The log has a line for each denied packet, naming port, VLAN and the addresses involved.
Known-good: uplinks are trusted, the device has a binding matching its port, and the drop counter is not increasing.
Step 2 Failure isolation workflow Narrow the fault
- One device has no connectivity; the log shows its ARP denied. No binding: it uses a static address, or it got its lease before DHCP snooping was enabled. Add an ARP ACL entry, or renew the lease.
- The whole VLAN lost connectivity when DAI was enabled. The uplink is not trusted, so the gateway's ARP replies are dropped.
- All bindings are gone after a reload. The binding table was not stored; configure
ip dhcp snooping database. - A port is err-disabled with an ARP rate message. The device sends more ARP than the limit; raise the limit if the device is legitimate.
- A device was moved and stopped working. Its binding names the old port; renew the lease.
- DAI is enabled but nothing is dropped anywhere. Every port is trusted, or the VLAN is not in the inspection list.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
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.
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.
ReferenceWhat it is1 section · depth on demand
Mechanics & mental model
Dynamic ARP Inspection (DAI) makes a switch check every ARP packet arriving on a user port. The switch knows which IP address belongs to which MAC address on which port, and drops ARP packets that claim something else.
ReferenceWhy it matters1 section · depth on demand
Why it matters operationally
ARP has no protection: any device can answer "that IP address is me", and its neighbours believe it. That is how an attacker on the same VLAN poses as the default gateway and reads everyone's traffic. DAI stops it at the access port. Its side effect in daily operation is that a legitimate device the switch has no record of — one with a static address — is cut off just as effectively.
ReferenceHow it works1 section · depth on demand
How it works
DAI depends on DHCP snooping. As clients obtain addresses, DHCP snooping builds a binding table: IP address, MAC address, VLAN and port. DAI compares each ARP packet on an untrusted port with that table and forwards it only if the sender's IP and MAC match a binding for that port.
ip dhcp snooping
ip dhcp snooping vlan 20
ip arp inspection vlan 20
!
interface GigabitEthernet1/0/1
description uplink
ip dhcp snooping trust
ip arp inspection trust
Trusted and untrusted. All ports are untrusted by default and are inspected. Uplinks and ports towards other switches are marked trusted and are not — the devices behind them are checked by their own access switch. An uplink left untrusted drops the ARP replies of the default gateway, and the whole VLAN loses connectivity.
Static addresses. A device that does not use DHCP has no binding. It needs an explicit exception:
arp access-list STATIC-HOSTS
permit ip host 10.20.0.50 mac host 0011.2233.4455
ip arp inspection filter STATIC-HOSTS vlan 20
Rate limit. Untrusted ports accept 15 ARP packets per second by default. A port that exceeds this is err-disabled, which protects the switch's CPU but can also catch a device that legitimately scans its subnet. ip arp inspection limit rate <pps> adjusts it per port.
Extra checks. ip arp inspection validate src-mac dst-mac ip additionally compares the addresses inside the ARP packet with the Ethernet header and rejects invalid IP addresses.
ReferenceImportant terms & boundaries1 section · depth on demand
In depth
Dynamic ARP Inspection on Catalyst 9300
DAI stops ARP spoofing by checking ARP packets on untrusted ports against known IP-to-MAC bindings. The Catalyst 9300 security guide describes the behaviour:
- DAI is enabled per VLAN and validates ARP against the DHCP snooping binding table, or against ARP ACLs for static hosts.
- All interfaces are untrusted by default. Trusted interfaces, such as uplinks, skip the checks.
- Untrusted ports are limited to 15 ARP packets per second by default. A port that exceeds the limit is err-disabled.
- Optional validation checks the source MAC, the destination MAC and the IP addresses.
- Dropped packets are logged.
Configuration (guide)
| Command | Effect |
|---|---|
ip arp inspection vlan 110,120 | Enable DAI on these VLANs (disabled by default) |
ip arp inspection trust (interface) | Skip checks on uplinks and trusted ports |
ip arp inspection limit rate 30 | Raise the per-port limit (default 15 pps) |
ip arp inspection filter <acl> vlan <id> | Permit static hosts with an ARP ACL |
ip arp inspection validate src-mac dst-mac ip | Additional checks (each command overrides the previous one) |
errdisable recovery cause arp-inspection | Automatic recovery from rate-limit shutdowns |
Rollout order
| Step | Reason |
|---|---|
| 1. Enable DHCP snooping and verify the binding table | DAI depends on it |
| 2. Trust uplinks and ports towards routers and DHCP servers | Otherwise legitimate ARP from them is dropped |
| 3. Create ARP ACLs or bindings for static hosts | Printers, servers, cameras |
| 4. Enable DAI on one VLAN, watch the statistics | Find missed static hosts |
| 5. Expand to other VLANs | — |
SW1(config)# ip dhcp snooping vlan 110
SW1(config)# ip arp inspection vlan 110
SW1(config)# arp access-list STATIC-HOSTS
SW1(config-arp-nacl)# permit ip host 10.110.0.250 mac host a4bb.6d55.0250
SW1(config)# ip arp inspection filter STATIC-HOSTS vlan 110
SW1(config)# interface TenGigabitEthernet1/1/1
SW1(config-if)# ip arp inspection trust
SW1# show ip arp inspection vlan 110
SW1# show ip arp inspection statistics vlan 110
Vlan Forwarded Dropped DHCP Drops ACL Drops
---- --------- ------- ---------- ---------
110 48210 37 37 0
SW1# show ip arp inspection log
%SW_DAI-4-DHCP_SNOOPING_DENY: 1 Invalid ARPs (Req) on Gi1/0/30, vlan 110.([a4bb.6d55.0999/10.110.0.1/0000.0000.0000/10.110.0.99/12:22:01 UTC])
Reading the log
The denied packet claims to come from 10.110.0.1, the gateway, but its MAC isn't in the bindings. That is exactly the spoofing DAI exists to stop. A static host missing from the ACL looks similar, but it claims its own address, not the gateway's.
Documented example, not captured output.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Network & Protocols → Dynamic ARP Inspection Deep Reference. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://www.rfc-editor.org/rfc/rfc826.html · confidence 94%What changed and what may be affected
Recent technical edits are separated from ordinary page timestamps. Relationship impact is advisory: it identifies nearby canonical references to review, not automatic breakage.
Terms & aliases
Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.
Operational notes
Former standalone Cheat Sheet content now lives directly inside the Topic where it belongs.
Dynamic ARP Inspection — Fast Check
Why was ARP dropped?
1. DAI enabled VLAN.
2. Ingress trust state.
3. Snooping/static binding.
4. Capture sender IP/MAC.
5. Read inspection drops.
6. Handle static hosts explicitly.