Cisco IOS Security Command Reference - Commands A to C
aaa accounting through aaa local authentication attempts max-fail