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.