(Optional) Configuring the Log Suppression Function for Users Authenticated Through the Built-in Portal Server
Context
The device generates logs when users authenticated through the built-in Portal server fail to go online or offline. If a user fails to go online or offline, the user attempts to go online or offline repeatedly, and the device generates a large number of logs within a short time. This results in a high failure rate in the statistics and degrades the system performance. You can enable the log suppression function for users authenticated through the built-in Portal server. The device then only generates one log if a user fails to go online or offline within a suppression period.
Procedure
- Run system-view
The system view is displayed.
- Run portal local-server syslog-limit enable
The log suppression function is enabled for users authenticated through the built-in Portal server.
By default, the log suppression function is enabled for users authenticated through the built-in Portal server.
- (Optional) Run portal local-server syslog-limit period value
The log suppression period is configured for users authenticated through the built-in Portal server.
By default, the log suppression period is 300 seconds for users authenticated through the built-in Portal server.