Enabling logging for user logins and logouts

This feature logs information about user login and logout events, including the username, IP address, user's MAC address, interface name, VLAN, and reason for login failure. For portal log messages to be sent 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.

To enable logging for user logins and logouts:

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Enable logging for user logins and logouts.

portal log enable

By default, logging for user logins and logouts is disabled.