Hi
you can use authentication event fail retry command for retries.
And the command authentication violation shutdown command to shut a port in case of failure.
thanks
PS: Please don't forget to rate and mark as correct answer if this solved your issue
Thanks
Francesco
PS: Please don't forget to rate and select as validated answer if this answered your question