If you use Cisco switches you can use "bdpu guard" to prevent a loop from taking down a network.