< Home

portal local-server syslog-limit enable

Function

The portal local-server syslog-limit enable command enables the log suppression function for users authenticated through the built-in Portal server.

The undo portal local-server syslog-limit enable command disables the log suppression function 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.

Format

portal local-server syslog-limit enable

undo portal local-server syslog-limit enable

Parameters

None

Views

System view

Default Level

2: Configuration level

Usage Guidelines

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 run the portal local-server syslog-limit enable command to 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 (configured using the portal local-server syslog-limit period command).

Example

# Enable the log suppression function for users authenticated through the built-in Portal server.

<HUAWEI> system-view
[HUAWEI] portal local-server syslog-limit enable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >