Check traffic volume of broadcast or multicast at regular intervals, and shutdown the port or limit the rate when it has exceeded the threshold.