Enabling logging for port security users
About logging for port security users
This feature enables the device to generate logs for port security 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 log output for port security users.
Procedure
Enter system view.
system-view
Enable logging for port security users.
port-security access-user log enable [ failed-authorization | mac-learning | violation ] *
By default, logging is disabled for port security users.
If you do not specify any parameters, this command enables all logging functions for port security users.