To defend against network-related attacks, you can configure DHCP snooping on the switch.
You need to set up a trusted/untrusted port.
In the following networking, the port of the S9300 should be set as a trusted port.
I understand the port that is connected to Network D.