< Home

Configuring the Log Backup and Log Suppression Functions on an AP

Context

  • Logs record user operations and system running information. After logs are backed up to a server, network administrators can summarize and analyze AP logs to learn the operations performed on APs for fault location.

    The device supports automatic log backup. After automatic log backup is configured, logs generated by an AP are automatically sent to the log server.

  • If a STA keeps attempting to connect to an AP because of signal interference or instability, the AP sends a large number of duplicate login and logout logs to the AC in a short period, causing a huge waste of resources.

    To address this problem, enable log suppression. The AP sends only one log about a user to the AC within the log suppression period.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run access-user syslog-restrain period period

    The period of system log suppression is configured.

    By default, the period of system log suppression is 300s.

  3. Run access-user syslog-restrain enable

    The system log suppression function is enabled.

    By default, system log suppression is enabled.

  4. Run wlan

    The WLAN view is displayed.

  5. Run ap-system-profile name profile-name

    An AP system profile is created, and the AP system profile view is displayed.

    By default, the system provides the AP system profile default.

  6. Run log-record-level { alert | critical | debug | emergency | error | info | notice | warning }

    The level of AP logs to be backed up is configured.

    By default, the level of AP logs that need to be backed up is info.

  7. Run log-server ip-address server-ip-address [ port port ]

    A log server IP address and port number is configured, and log backup is enabled.

    By default, the port number of the log server is 514, the log server IP address is not configured in an AP system profile, and log backup is disabled on an AP.

  8. Run quit

    Return to the WLAN view.

  9. Bind an AP system profile to an AP group or AP.

    • Binding an AP system profile to an AP group.
      1. Run the ap-group name group-name command to enter the AP group view.
      2. Run the ap-system-profile profile-name command to bind the AP system profile to the AP group.

        By default, the AP system profile default is bound to an AP group.

    • Binding an AP system profile to an AP.
      1. Run the ap-id ap-id, ap-mac ap-mac, or ap-name ap-name command to enter the AP view.
      2. Run the ap-system-profile profile-name command to bind the AP system profile to the AP.

        By default, no AP system profile is bound to an AP.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >