Use it in user VLANs after DHCP snooping is in place, and when hosts lose connectivity right after DAI is enabled.
Dynamic ARP Inspection
Dynamic ARP Inspection (DAI) checks every ARP packet on untrusted ports against the DHCP snooping binding table (or ARP ACLs) and drops ARP packets whose IP-to-MAC pairing is not legitimate, stopping ARP spoofing.
1. show ip arp inspection statistics vlan <id> — drops increasing?
2. show logging | include DAI — which sender IP/MAC is dropped?
3. Static host → no binding; add an ARP ACL or static binding.
4. Uplink dropping → mark it trusted.
5. Port err-disabled → ARP rate limit; raise ip arp inspection limit rate on that port.
DHCP snooping bindings in place → DAI enabled per VLAN → uplinks trusted → ARP on untrusted ports compared with bindings → valid ARP forwarded, spoofed ARP dropped and logged
Correlate one sender IP/MAC tuple with DHCP snooping or ARP ACL evidence and the ingress port.
Continue only after interpreting the current observation.Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
ip arp inspection vlan <vlan-list>Primary Commands
Configuration and operational commands for this Topic.
ip arp inspection vlan <vlan-list>ReferenceEnable Dynamic ARP Inspection for selected VLANs.
Use when: Use after confirming the Network Hardening target and before changing state.
Quick note: Cross-platform security / Cisco / Linux / Windows. A control being configured does not prove enforcement, visibility, containment or acceptable residual risk.
Cisco IOS XE · mixedip arp inspection trustReferenceTrust ARP packets on this interface (uplinks); Dynamic ARP Inspection skips them.
Use when: Bypass DAI validation on a deliberate infrastructure-facing boundary where design requires trust.
Quick note: Use only on intentional trusted topology boundaries.
Cisco IOS / IOS XE · mixedip arp inspection validate src-macReferenceMake DAI drop ARP packets whose sender MAC does not match the Ethernet source.
Use when: Detect ARP frames whose Ethernet source and ARP sender hardware fields violate validation expectations.
Quick note: Enable deliberately and use inspection statistics/log evidence to identify exact failures.
Cisco IOS / IOS XE · mixedip arp inspection validate dst-macReferenceMake DAI drop ARP packets whose destination MAC does not match the Ethernet header.
Use when: Validate Ethernet destination versus ARP target expectations according to Cisco DAI behavior.
Quick note: Correlate with packet fields and DAI statistics before changing.
Cisco IOS / IOS XE · mixedip arp inspection validate ipReferenceMake DAI drop ARP packets with invalid or unexpected IP addresses.
Use when: Reject invalid ARP IP-field patterns according to platform policy.
Quick note: Use packet/evidence counters and platform documentation for exact validation rules.
Cisco IOS / IOS XE · mixedShow Commands
Read-only Cisco show commands for confirming state, narrowing a fault and interpreting the current boundary.
show ip arp inspectionShowDisplay Dynamic ARP Inspection status per VLAN.
Use when: Confirm DAI is active where intended and review current validation policy.
Quick note: Continue with interface trust, statistics and DHCP Snooping binding evidence.
Cisco IOS / IOS XE · mixedshow ip arp inspection interfacesShowDisplay DAI trust state and rate limits per interface.
Use when: Find where ARP is trusted versus inspected and validate the intended topology boundary.
Quick note: Compare each trust decision with topology and then inspect statistics.
Cisco IOS / IOS XE · mixedshow ip arp inspection statisticsShowDisplay DAI forwarded and dropped packet counts.
Use when: Identify whether DAI is actively rejecting ARP and narrow the failure boundary.
Quick note: Take a counter delta while reproducing the endpoint ARP event and correlate with binding/policy.
Cisco IOS / IOS XE · mixedshow ip arp inspection [vlan <vlan-id>]ReferenceDisplay Dynamic ARP Inspection configuration/statistics.
Use when: Use after confirming the Network Hardening target and before changing state.
Quick note: Cross-platform security / Cisco / Linux / Windows. A control being configured does not prove enforcement, visibility, containment or acceptable residual risk.
Cisco IOS XE · mixedVerification & 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 First 30 seconds Verify boundary
Immediate answer: Freeze sender IP/MAC, VLAN and ingress. Read DAI operational scope/trust and the actual binding/static policy before interpreting one forward/drop result.
Verification chain: ARP claim/ingress → enabled VLAN → trust boundary → binding or explicit ARP policy → validation/rate result → counter delta → peer neighbor/frame exchange
Boundary: A configuration line or a single local display does not show the downstream result. Preserve observations before any intervention.
Step 2 DAI: bounded permit/drop example and recovery Verify boundary
Illustrative isolated VLAN 20: DHCP client MAC 0011.2233.4455 holds 10.20.0.10 on Gi1/0/10 with a matching snooping binding. On untrusted ingress, a legitimate ARP sender claim matching the approved policy should pass; correlate the packet and forward counter delta.
Negative test in the isolated lab: inject a controlled inconsistent sender claim, such as that lab MAC claiming an address not authorized by its binding/policy. Observe a validation drop at the intended ingress, then confirm a legitimate ARP exchange still works. Account for the complete effective ARP policy before predicting the result. Do not send spoofed ARP into a production broadcast domain.
Include a separately modeled static-client case if the design needs one. Save exact prior VLAN/trust/ARP-filter/validation/rate configuration. Restore only the reviewed test change and recheck intended drops, legitimate neighbor reachability and an unaffected client. Enabling trust to hide a failure is not recovery of validation. No device test, packet capture or new verification is claimed.
Step 3 DAI readback: claim, policy and counter delta Verify boundary
Read inspection operational VLANs, interface trust, configured validation and statistics. Correlate one sender IP/MAC/VLAN claim and ingress with the actual snooping binding or explicit ARP policy. Compare before/after counters during a bounded exchange and inspect the peer's neighbor result independently.
If valid traffic fails, identify whether the first contradiction is binding state, static policy, validation/rate handling or downstream forwarding. Avoid unrelated HSRP/election or multicast checks in this ARP decision. A trusted port passing a packet is not evidence that untrusted-port validation would accept it. After a reviewed change, repeat the same claim and an adjacent known-good client test.
Step 4 Verification and output interpretation Verify boundary
Use show ip arp inspection to confirm VLAN enablement, trust state, validation settings and drop/forward counters. For a DHCP client, first show the corresponding show ip dhcp snooping binding entry, then inspect ARP behavior and confirm counters remain consistent with the expected traffic. For a static endpoint, verify the configured exception source actually matches its IP/MAC relationship. Rising DAI drops are useful only when correlated with the specific VLAN/interface and rejected sender values. If an endpoint cannot resolve its gateway, compare the sender tuple in ARP with the binding or ARP ACL rather than treating all ARP loss as a generic network problem.
Step 5 Step-by-step troubleshooting Narrow the fault
Boundary rule: An ARP inspection drop shows a validation failure at that boundary, not necessarily spoofing or endpoint compromise.
Step 6 DAI: missing binding, static host and enforcement branches Narrow the fault
1. Legitimate DHCP client ARP is dropped: compare its active IP/MAC/VLAN with show ip dhcp snooping binding. Investigate absent, expired or wrong-context bindings and the learning path before changing trust.
2. Static client has no DHCP binding: inspect the planned ARP ACL/filter policy supported on this platform. Do not assume adding a static ARP entry to the switch's own neighbor cache supplies DAI's validation database.
3. Binding agrees but a drop remains: inspect additional validation, rate-limit/errdisable state and observed packet fields. Compare counters for the bounded test; a cumulative drop counter alone is not attribution.
4. ARP unexpectedly passes: verify the actual ingress interface is untrusted, inspection is operational for this VLAN and no explicit policy permits the claim. Trusted ingress is a bypass boundary, not successful validation evidence.
5. Valid ARP is forwarded but the flow fails: inspect peer neighbor resolution, frame path and, if routed, gateway/return behavior independently.
Keep snooping trust, DAI trust and static ARP policy distinct. Preserve the intended security boundary when correcting legitimate-client failures.
Step 7 Verification & troubleshooting Narrow the fault
1. show ip arp inspection — feature/VLAN and policy state.
2. show ip arp inspection interfaces — locate trusted/untrusted boundaries.
3. show ip arp inspection statistics — identify forwarded/dropped validation results.
4. Verify DHCP Snooping bindings for DHCP clients.
5. Correlate dropped ARP with the endpoint IP/MAC/VLAN and only then change trust/validation design.
Step 8 DAI failure signatures Narrow the fault
Separate missing/expired DHCP bindings, unsupported or incomplete static-host policy, wrong operational VLAN scope, unexpectedly trusted ingress, optional validation mismatch and rate-related drops. Correlate the exact claim with a bounded counter delta; a historic drop total is not evidence that the current client is responsible.
If the ARP decision is correct, move to peer neighbor state and the frame path. If it is incorrect, fix the smallest owning policy/state issue without broadly bypassing inspection. Use the isolated valid/inconsistent-claim example to verify the intended boundary and recheck an unaffected client after restoration.
Step 9 DAI closure and proof boundary Narrow the fault
Closure requires the intended VLAN/interface enforcement, the correct binding or explicit static policy, an observed legitimate ARP result and an isolated deliberately inconsistent claim rejected at the selected boundary. Verify the peer's neighbor/frame exchange independently. Passing through trusted ingress does not demonstrate that validation worked.
Restore only scoped test changes and confirm both intended drops and legitimate client operation. A symptom disappearing after protection is disabled is not closure of the validation problem. Authored guidance and expected outputs do not create captured Evidence, approval, review or verification timestamps. Preserve existing historical evidence records.
Evidence · 5 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
The official Cisco source documents this command in a bounded Cisco product/release or feature context.
command output · Evidence referenceDAI drop counter rises with endpoint ARPDAI drop/validation counters increase while reproducing the affected endpoint ARP exchange.
command output · Evidence referenceDAI failure caused by absent DHCP bindingA DHCP client is on an untrusted DAI port but its expected Snooping binding is absent.
command output · Evidence referenceClient-facing interface is trusted for DAIAn endpoint-facing access interface appears Trusted in DAI state without an explicit design reason.
command output · Evidence referenceStatic endpoint ARP dropped under binding-based DAI designA statically addressed endpoint on an untrusted inspected VLAN triggers DAI drops and has no DHCP Snooping binding.
Enable with ip arp inspection vlan <list>; mark uplinks with ip arp inspection trust. Hosts with static addresses have no binding and are dropped — add an ARP ACL or static binding first. DAI rate-limits ARP on untrusted ports (15 pps by default) and err-disables ports that exceed it.
show ip arp inspection— VLANs, trust state and counters.show ip arp inspection statistics vlan <id>— forwarded, dropped and DHCP/ACL drops.show ip arp inspection interfaces— trust state and rate limit per port.show ip dhcp snooping binding— the bindings DAI checks against.show logging | include DAI— dropped packets with sender IP and MAC.
ReferenceWhat it is1 section · depth on demand
What DAI validates
Dynamic ARP Inspection validates IPv4 ARP claims on untrusted ingress in enabled VLANs. In a DHCP-based access design it commonly consumes DHCP snooping bindings; explicitly supported ARP ACL/filter rules handle deliberate exceptions. Trusted ingress bypasses validation and therefore needs a justified topology boundary.
Keep the observations separate: configured inspection, actual VLAN/interface enforcement, address-claim validation, observed forward/drop result and successful neighbor/frame exchange. DAI does not establish cryptographic host identity or replace endpoint security. An unexplained drop can reflect legitimate-client state loss, an incorrect static-host design or an actual inconsistent claim; investigate before assigning intent.
ReferenceWhy it matters1 section · depth on demand
Why it matters
Use DAI to reduce ARP spoofing/poisoning risk at the access edge by validating endpoint ARP claims before they are accepted and forwarded through the Layer 2 domain.
ReferenceHow it works1 section · depth on demand
DAI: inspect trust and validation without bypassing them
Scope: Cisco IOS / IOS XE Catalyst, IPv4 ARP inspection for one VLAN. DAI validates ARP claims, not IGMP membership, PIM state or multicast RPF.
ip arp inspection trust changes interface policy so received ARP bypasses DAI validation. It is not a read-only observation and must not be used just to make an unexplained drop disappear. Read show ip arp inspection, show ip arp inspection interfaces and show ip arp inspection statistics for VLAN, trust/validation policy and forward/drop deltas.
Compare the observed sender IP/MAC/VLAN and interface with the DHCP snooping binding or the explicitly supported static ARP policy. Optional MAC/IP validation and rate handling are additional boundaries. A drop demonstrates a failed validation at this switch, not malicious intent or endpoint compromise by itself.
Reference: Cisco IOS XE 17.13 DAI configuration guide.
ReferenceImportant terms & boundaries8 sections · depth on demand
Key points
- Enable DAI per VLAN
- Access ports are normally untrusted; infrastructure uplinks may be trusted deliberately
- DHCP-learned hosts require correct DHCP Snooping bindings for binding-based validation
- Optional source-MAC, destination-MAC and IP checks tighten validation further
- Static/non-DHCP endpoints need a deliberate design; do not simply trust every edge that fails inspection.
DAI binding dependency
For a DHCP client, correlate its ARP sender IP/MAC and VLAN with the snooping binding learned on the intended attachment. Compare binding lease/expiry and the current client configuration. An absent binding after interrupted DHCP learning or a switch restart can explain a legitimate ARP drop; inspect persistence/learning behavior on the actual platform.
The DAI consumer must have the required state locally or through its documented platform mechanism. A lease visible only on a remote server does not establish that state. Preserve the original binding and counter observations before a narrowly scoped recovery; do not clear the database or broadly trust endpoint ports.
In depth
Dynamic ARP Inspection checks ARP packets against known IP-to-MAC bindings
The Catalyst 9300 DAI guide explains that DAI validates ARP on untrusted ports against the DHCP snooping binding database, so DHCP snooping must be enabled for dynamically addressed hosts. Defaults: disabled on all VLANs, all interfaces untrusted, 15 pps rate limit on untrusted ports with a 1 s burst interval, and no extra validation checks.
C9300(config)# arp access-list ARP-STATIC-HOSTS
C9300(config-arp-nacl)# permit ip host 10.20.0.5 mac host 00a0.c912.3456
C9300(config)# ip arp inspection filter ARP-STATIC-HOSTS vlan 20
C9300(config)# ip arp inspection vlan 20,30
C9300(config)# ip arp inspection validate src-mac ip
C9300(config)# interface TenGigabitEthernet1/1/1
C9300(config-if)# ip arp inspection trust
C9300(config)# interface GigabitEthernet1/0/10
C9300(config-if)# ip arp inspection limit rate 30
C9300(config)# errdisable recovery cause arp-inspection
C9300# show ip arp inspection statistics vlan 20
Vlan Forwarded Dropped DHCP Drops ACL Drops
---- --------- ------- ---------- ---------
20 18342 14 14 0
Documented behaviour
| Item | Detail |
|---|---|
| ARP ACLs | Take precedence over DHCP bindings; implicit deny ip any mac any |
filter … static | Implicit deny becomes explicit; DHCP bindings are not consulted |
| Rate exceeded | Port goes err-disabled; recovery is off by default (300 s interval when enabled) |
| EtherChannel | Rate limit is cumulative across members |
| Direction | Ingress only |
Validation options
| Keyword | Check |
|---|---|
src-mac | Ethernet source MAC = ARP sender MAC |
dst-mac | Ethernet destination MAC = ARP target MAC (replies) |
ip | Rejects 0.0.0.0, 255.255.255.255 and multicast addresses |
Each validate command replaces the previous one, so list all keywords in one command.
Guidelines from the guide
- Trust ports towards other DAI-capable switches and routers. A physical port joins a port-channel only if its trust state matches.
- Raise the limit on trunks carrying several DAI VLANs, or use
limit nonethere. - Don't enable DAI on RSPAN VLANs.
- Hosts behind switches without DAI aren't protected.
Troubleshooting
show ip arp inspection log shows the dropped packets. DHCP drops for a host with a static address mean an ARP ACL entry is missing.
Documented example, not captured output.
DAI static endpoint boundary
Static-IP printers, appliances and lab hosts may have no DHCP snooping binding. Define their expected IP/MAC/VLAN claims using the platform-supported ARP ACL/filter design and review how explicit permit/deny, fallback to bindings and any static-only option behave. Do not confuse a configured neighbor-cache entry with DAI authorization.
Verify an intended static-host ARP exchange and a deliberately inconsistent claim only in an isolated lab, while checking a normal DHCP client still works. Keep access ingress untrusted unless the topology explicitly justifies otherwise. This is ARP enforcement guidance; multicast routing state is unrelated to this decision.
Quick reference
Dynamic ARP Inspection (DAI) checks ARP packets on untrusted ports against the DHCP Snooping binding table and drops those whose IP-to-MAC mapping is not legitimate. This stops ARP spoofing and man-in-the-middle attacks.
ip arp inspection vlan 20,30
interface Te1/1/1
ip arp inspection trust
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
show ip arp inspection statistics
Documented example, not captured output.
Hosts with static IPs have no DHCP binding — add ARP ACLs for them, or their ARP is dropped.
DAI mechanics and state ownership
DAI owns the per-VLAN ARP validation decision on ingress. An untrusted interface subjects a sender claim to the effective binding/ARP-filter and optional validation policy; a trusted interface bypasses that decision. Interpret IP/MAC/VLAN claims in their actual ingress context and inspect rate handling separately.
A legitimate static host can lack a DHCP-learned binding. Design its explicit supported policy before applying inspection rather than trusting the access edge to work around a drop. Validating a claim, forwarding an ARP message and completing neighbor/application communication are different observations. ARP inspection is not a multicast or routing-protocol state machine.
State model and protocol mechanics
ARP itself has no authentication, so a host can claim that an IPv4 address maps to an arbitrary MAC address. Dynamic ARP Inspection adds switch enforcement by parsing ARP packets on untrusted ports and validating sender information against an accepted source of truth, most commonly the DHCP Snooping binding table. Depending on configuration, additional checks can validate ARP fields such as source/destination MAC consistency or IP constraints. Trusted ports bypass the normal inspection decision and are therefore usually reserved for controlled infrastructure paths. Static-addressed devices need an explicit design—such as ARP ACL entries or another supported binding source—because a host without a DHCP binding can otherwise be rejected despite being legitimate.
Limits and common misconceptions
DAI can block spoofed or untrusted ARP, but it does not secure IPv6 Neighbor Discovery and does not show broader endpoint identity. A DHCP Snooping binding is authoritative only for the scope in which it was learned. An interface being trusted bypasses normal validation, so trust should not be used merely to make a symptom disappear. Successful ARP inspection shows a packet passed local policy, but it does not show the target IP is reachable or the gateway is functioning. Conversely, a DAI drop can be a correct security outcome or a source-of-truth defect. Distinguish bad sender information from missing/incorrect binding state before changing enforcement.
ReferenceConfiguration & state1 section · depth on demand
Design and configuration model
Enable DAI only on the VLANs where its source-of-truth model is ready. Build DHCP Snooping first when it supplies bindings, then verify that every legitimate dynamic client creates the expected entry. Keep endpoint-facing ports untrusted and trust only infrastructure links whose ARP traffic should bypass inspection. If printers, appliances or network devices use static IPv4 addressing, model those exceptions explicitly instead of broadly trusting access ports. Optional validation knobs should be enabled with awareness of unusual but legitimate ARP behavior. Rate limiting can suppress abuse but must fit real endpoint behavior. The configuration goal is deterministic validation, not simply “DAI enabled”.
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 Switching → Layer 2 Security → Dynamic ARP Inspection. 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.
Quick lookup tables
DAI validation map
What DAI checks at the access edge
| Boundary | Typical input | Healthy evidence | Suspicious evidence |
|---|---|---|---|
| VLAN enabled | DAI configuration | intended VLAN inspected | affected VLAN absent |
| Interface trust | topology policy | access untrusted, intended uplink trusted | client edge trusted or server path design mismatch |
| Binding/source of truth | DHCP Snooping / supported static design | IP/MAC/VLAN/interface matches | missing/mismatched binding |
| Optional validation | src-mac / dst-mac / IP checks | fields internally consistent | malformed/inconsistent ARP |
| Statistics | DAI counters | expected forwarding, no unexplained drops | growing validation/drop counters |
DAI troubleshooting boundary
Fast order for ARP inspection drops
| Step | Check | If wrong |
|---|---|---|
| 1 | VLAN inspected | enable/correct intended VLAN policy |
| 2 | interface trust | fix only the intended infrastructure trust boundary |
| 3 | DHCP Snooping binding | fix DHCP/binding path for DHCP client |
| 4 | validation options | compare rejected ARP fields with policy |
| 5 | statistics + endpoint ARP | correlate exact drop before changing enforcement |
Dynamic ARP Inspection · operational reference
Compact state and interpretation boundaries for fast lookup.
| DAI boundary | Reference state | Interpretation |
|---|---|---|
| Untrusted access port | ARP inspected | Normal endpoint policy boundary |
| DHCP binding | Sender IP/MAC/VLAN/interface match | Dynamic client can be validated |
| Static host | Explicit supported exception exists | Avoid broad trust workaround |
| Drop counter | Stable for healthy clients | Rising value needs sender/interface correlation |
Dynamic ARP Inspection operational reference
Topic-specific bounded interpretation: known-good state, suspicious signatures and the next technical proof boundary.
| Boundary | Known-good for Dynamic ARP Inspection | Suspicious signature | Next proof |
|---|---|---|---|
| Intent | Matches the per-VLAN ARP validation boundary that rejects invalid IP-to-MAC claims on untrusted ports using trusted bindings or explicit validation policy design | Configuration differs from design/peer | Compare effective configuration |
| Control/security state | Stable expected neighbor/database/binding/election state | valid static host ARP dropped because no binding/ACL exists, trusted ports applied too broadly, DAI enabled on a VLAN without the expected snooping state, or spoofed ARP correctly blocked but misdiagnosed as a generic connectivity issue | Inspect protocol/security detail and adjacent state |
| Forwarding | Expected Layer-2 or RIB/FIB/gateway path | Control state exists but traffic path disagrees | MAC/ARP/RIB/FIB/CEF proof |
| Closure | Original test passes for explained reason | Symptom moved, was bypassed or protection disabled | Regression test |