Use them when legitimate hosts are dropped by DAI or IP Source Guard, or when storm control blocks traffic.
Layer 2 Security Protocol Reference
These features validate ARP and source addresses against trusted bindings and limit broadcast storms at the access edge.
1. Layer 2 security: port security, DHCP snooping, DAI, IP source guard, storm control, BPDU guard.
2. Snooping binding table feeds DAI and IPSG.
3. Trust uplinks only.
4. Watch drops and violations.
5. Enable on access layer.
untrusted port → snooping/DAI/port security checks → permit/drop
Context & applicabilityCommon mistakes · platform/version boundaries
- Enabling DAI or IP Source Guard before DHCP snooping bindings exist.
- Forgetting trusted ports toward routers and DHCP servers.
- Storm control thresholds too low for normal broadcast traffic.
Operational reference
Fast context before you go deeper.
show ip arp inspection statisticsSubtopics
Go one level deeper into this subject.
Dynamic ARP Inspection validates ARP packets on untrusted Layer-2 ports against trusted bindings or configured validation rules to reduce ARP spoofing.
Subtopic IP Source Guard Deep ReferenceIP Source Guard restricts source IP/MAC behavior on access ports using trusted bindings, reducing address spoofing from endpoint-facing interfaces.
Subtopic Storm Control Deep ReferenceStorm Control limits broadcast, multicast and/or unknown-unicast traffic rates on a switch port to protect the Layer-2 domain from excessive flooding.
- DAI and IP Source Guard depend on DHCP snooping bindings.
- Uplinks to trusted devices must be trusted.
- Storm control acts per port and traffic type.
show port-security— port securityshow ip dhcp snooping binding— DHCP snoopingshow ip arp inspection statistics— DAI
ReferenceWhat it is1 section · depth on demand
What this group covers
Dynamic ARP Inspection, IP Source Guard and storm control: how each validates traffic against DHCP snooping bindings or rate limits, what drops look like and how to tune them. Combine with DHCP snooping and port security from Switching → Layer 2 Security.
ReferenceImportant terms & boundaries2 sections · depth on demand
Where to look
| Question | Reference |
|---|---|
| Why are ARP packets dropped? | *Dynamic ARP Inspection Deep Reference* |
| Why can a host not send after an IP change? | *IP Source Guard Deep Reference* |
| Why is broadcast traffic being dropped? | *Storm Control Deep Reference* |
Layer 2 security protects the access layer, where users and devices connect directly to the network. Several attacks — rogue DHCP servers, ARP spoofing, MAC flooding, unauthorised switches — work only inside a VLAN, so they must be stopped on the switch port itself. Each feature in the table targets one specific attack, and several of them build on DHCP snooping's record of which address belongs to which port.
Layer 2 security quick reference:
| Feature | Protects against |
|---|---|
| Port security | MAC flooding, unauthorised devices |
| DHCP snooping | Rogue DHCP servers |
| Dynamic ARP Inspection | ARP spoofing |
| IP Source Guard | IP spoofing |
| BPDU Guard / Root Guard | STP manipulation |
| Storm control | Broadcast storms |
| 802.1X/MAB | Unauthenticated access |
Enable DHCP snooping before DAI and IP Source Guard — both depend on its binding table.
In depth
Layer 2 security protects switched networks against attacks that exploit trust on the local link: rogue DHCP servers, ARP spoofing, MAC flooding, VLAN hopping and spanning-tree manipulation. The controls sit on access switches, close to the attacker.
| Attack | Countermeasure |
|---|---|
| MAC flooding | Port security |
| Rogue DHCP | DHCP Snooping |
| ARP spoofing | Dynamic ARP Inspection |
| VLAN hopping | Disable DTP, dedicated native VLAN |
| STP manipulation | BPDU Guard, Root Guard |
| Unauthorised device | 802.1X / MAB |
These features build on each other, so enable them in order: DHCP Snooping, then DAI and IP Source Guard.
ReferenceConfiguration & state1 section · depth on demand
Key commands
show ip arp inspection statistics
show ip verify source
show storm-control
show ip dhcp snooping binding