Enabling portal logging
To help with security audits, you can enable portal logging to record portal authentication information.
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 portal logging:
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. Enable logging for portal user logins and logouts. | portal user log enable | By default, portal user login and logout logging is disabled. |
3. Enable logging for portal protocol packets. | portal packet log enable | By default, portal protocol packet logging is disabled. |
4. Enable logging for portal redirect. | portal redirect log enable | By default, portal redirect logging is disabled. |