The aaa online-fail-record command enable the record function when a user fails to get online.
The undo aaa online-fail-record command disable the record function when a user fails to get online.
By default, the record function when a user fails to get online is enabled.
Usage Scenario
If the user wants to query the login failure records to preliminarily check the unauthorized user, run the aaa online-fail-record command to enable the generation of login failure records.
Follow-up Procedure
Run display aaa online-fail-record command to check the record when a user gets offline.