Enabling logging for MAC authentication users

About logging for MAC authentication users

This feature enables the device to generate logs for MAC authentication users and send the logs to the information center. For the logs to be output correctly, you must also configure the information center on the device. For more information about information center configuration, see Network Management and Monitoring Configuration Guide.

Restrictions and guidelines

As a best practice, disable this feature to prevent excessive output of logs for MAC authentication users.

Procedure

  1. Enter system view.

    system-view

  2. Enable logging for MAC authentication users.

    mac-authentication access-user log enable [ failed-login | logoff | successful-login ] *

    By default, logging is disabled for MAC authentication users.

    If you do not specify any parameters, this command enables all logging functions for MAC authentication users.