< Home

Recording Login and Logout Information

Context

Enabling the recording of information related to normal logout, abnormal logout, and login failure helps administrators locate and analyze problems.

Procedure

  • Run the aaa offline-record command in the system view to record normal logout information.

    By default, the device is enabled to record normal logout information.

  • Run the aaa abnormal-offline-record command in the system view to record abnormal logout information.

    By default, the device is enabled to record abnormal logout information.

  • Run the aaa online-fail-record command in the system view to record login failure information.

    By default, the device is enabled to record login failure information.

Follow-up Procedure

  • Run the display aaa { offline-record | abnormal-offline-record | online-fail-record } { all | reverse-order | domain domain-name | interface interface-type interface-number [ vlan vlan-id [ qinq qinq-vlan-id ] ] | ip-address ip-address [ vpn-instance vpn-instance-name ] | mac-address mac-address | access-slot slot-number | time start-time end-time [ date start-date end-date ] | username user-name [ time start-time end-time [ date start-date end-date ] ] } [ brief ] command to check normal logout, abnormal logout, and login failure records.

  • Run the display aaa statistics offline-reason command in any view to check the reasons for users to go offline.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
Next topic >