DHCP Filtering On A Dlink Switch
This is particularly for the DGS-3526. This will block rogue DHCP servers.
1 2 3 | create access_profile ip udp src_port_mask 0xFFFF profile_id 10 config access_profile profile_id 10 add access_id 1 ip udp src_port 67 port 25-28 permit config access_profile profile_id 10 add access_id 2 ip udp src_port 67 port 1-24 deny |