ip dhcp snooping
Enable DHCP snooping globally; add 'ip dhcp snooping vlan <id>' per VLAN and 'ip dhcp snooping trust' on the uplink toward the real server.
Configuration-only in this lab: 'show ip dhcp snooping' reports the state, but snooping never drops a DHCP message here, so a second DHCP server on an untrusted port still hands out leases.
Don't just read it — type ip dhcp snooping in a real network simulator in your browser and watch it take effect. No install, no account needed to start.
Frequently asked
What does the "ip dhcp snooping" command do?
Enable DHCP snooping globally; add 'ip dhcp snooping vlan <id>' per VLAN and 'ip dhcp snooping trust' on the uplink toward the real server.
What's the common gotcha with "ip dhcp snooping"?
Configuration-only in this lab: 'show ip dhcp snooping' reports the state, but snooping never drops a DHCP message here, so a second DHCP server on an untrusted port still hands out leases.