My first thought would be to use snooping always because when we tend to receive a lot of junk requests from other devices that customers plug into the networks that can well be taken care by this feature for violation action set on them.
By default DHCP snooping is disabled on the switch. To enable DHCP snooping on the switch, use the following command:
enable ip-security dhcp-snooping vlan
ports [all | ] violationaction [drop-packet {[block-mac | block-port] [duration | permanently] | none]}] {snmp-trap}
The violation action setting determines what action(s) the switch takes when a rogue DHCP server packet is seen on an untrusted port or the IP address of the originating server is not among those of the configured trusted DHCP servers. The DHCP server packets are DHCP OFFER, ACK and NAK. The following list describes the violation actions:
- block-mac—The switch automatically generates an ACL to block the MAC address on that port. The switch does not blackhole that MAC address in the FDB. The switch can either temporarily or permanently block the MAC address.
- block-port—The switch blocks all traffic on that port by disabling the port either temporarily or permanently.
- none—The switch takes no action to drop the rogue DHCP packet or block the port, and so on. In this case, DHCP snooping continues to build and manage the DHCP bindings database and DHCP forwarding will continue in hardware as before.
Any violation that occurs causes the switch to generate an Event Management System (EMS) log message as well. Hence this implementation would be a worth one.....