loop detection on port of extreme x250e-24t

There is physical loop detected on Extremex250e-24t switch,due to this entire network went down at one of our customer site.Is anybody can help me how to block the port if the loop is detected on the switch?

So that in future if physical loop detected on the switch then port will automatically blocked it.

to complete the testing you need to update EXOS to a version that actually supports disabling ports via ELRP. EXOS version 12.0 does not provide this feature. The first EXOS version to provide this feature was 12.5.3.