Let me give you an example of setting up DHCP Snooping on Edge-core switches, for the test I’ll take the ES3526XA model.
After connecting to the switch, we will go into configuration mode:
configure
First, on the UPLINK interface, allow packets from the DHCP server:
interface ethernet 1/25
ip dhcp snooping trust
Then activate DHCP Snooping on the desired VLANs:
ip dhcp snooping vlan 300
We globally activate DHCP Snooping (after that it will start working):
ip dhcp snooping
We exit the configuration mode and check the parameters:
exit
show ip dhcp snooping
Example of viewing the list of issued IP addresses:
show ip dhcp snooping binding
Save the configuration:
copy running-config startup-config
See also my article:
Configuring Edge-core ES3526XA