BuildTheNet

Opening your workspace

Your learning content and tools are loading.

Port Security

show ip arp inspection

Shows Dynamic ARP Inspection status per VLAN and counters of ARP packets forwarded and dropped.

Written by a working field network engineer · CCNA, Security+, CySA+

Dynamic ARP Inspection checks every ARP packet, requests and replies alike, that arrives on an untrusted port, and drops it if its sender IP and MAC do not match the DHCP snooping binding table (or an ARP ACL). This shows which VLANs it protects and how many ARP packets it has forwarded and dropped.

Example output

SW1#show ip arp inspection vlan 10
Source Mac Validation      : Disabled
Destination Mac Validation : Disabled
IP Address Validation      : Disabled

 Vlan     Configuration    Operation   ACL Match          Static ACL
 ----     -------------    ---------   ---------          ----------
   10     Enabled          Active

 Vlan     ACL Logging      DHCP Logging      Probe Logging
 ----     -----------      ------------      -------------
   10     Deny             Deny              Off

 Vlan      Forwarded        Dropped     DHCP Drops      ACL Drops
 ----      ---------        -------     ----------      ---------
   10            412              6              6              0

Reference output: hand-written in standard Cisco IOS format for this example network, not captured from a device.

Useful variants

What each column or field means

FieldMeaning
Configuration / OperationEnabled means ip arp inspection vlan includes it; Active means the VLAN exists and DAI is running in it.
Forwarded / DroppedARP packets passed and dropped in the VLAN.
DHCP DropsDrops because no matching DHCP snooping binding existed.
ACL DropsDrops by an ARP ACL, used for hosts with static addresses.

When it doesn’t look right

Hosts with static IPs lose connectivity when DAI is enabled.

They have no DHCP snooping binding, so their ARP is dropped. Add an ARP access-list for them and apply it with ip arp inspection filter.

Everything is dropped, including the gateway.

The uplink toward the router is untrusted. Configure ip arp inspection trust on uplinks and trunks.

Related commands

Try it yourself

Learn it in the CCNA path

Topic

Port Security — Limit which MAC addresses an access port accepts, choose a violation action, learn sticky addresses and recover err-disabled ports.

All 57 commands