IP Source Guard Deep Reference
Cheat sheet · https://pcornel.dk/topic.php?topic=258
Answer
IP Source Guard makes an access port accept traffic only from the IP address assigned to the device on it. Packets with any other source address are dropped at the port.
Remember
It uses the DHCP snooping binding table; with no binding the port blocks all IP traffic except DHCP, and drops are not logged. Devices with static addresses need ip source binding. Never on uplinks. If the binding table is lost at a reload, every protected device is cut off until it renews.
First checks
show ip verify source— per protected port: filter type and the address permitted; "deny-all" means no binding.show ip verify source interface <interface>— one port.show ip source binding— dynamic and static bindings together.show ip dhcp snooping binding— the DHCP-learned ones.
Commands
show ip verify source [interface <interface>]- Display IP Source Guard bindings/filter state.
ip verify source- Enable IP Source Guard behavior on an access interface according to platform binding mode.
ip source bindingip verify source mac-checkshow ip verify sourceshow ip source bindingip verify source port-securityip dhcp snooping database
Verify in this order
DHCP snooping active on the VLAN → device obtains a lease, or a static binding exists → filter on the port permits that address → traffic from that address forwarded, anything else dropped
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=258