Reference: https://community.cisco.com/t5/network-access-control/issues-with-tacacs-authentication/td-p/3412001 The last line shows us the reason, which is "Invalid AUTHEN packet (check keys)" so the most likely cause of this problem is key mismatch.