No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

S12700 V200R010C00 Configuration Guide - Device Management

This document describes the principles and configurations of the Device Management features, and provides configuration examples of these features.
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
(Optional) Configuring the Suppression of the Log Processing Rate

(Optional) Configuring the Suppression of the Log Processing Rate

Context

During the running of a device, if too many logs with the same log ID are generated, the information center is too busy processing these logs to process logs with other log IDs, which may even affect the running service. The information center monitors the traffic of logs with different log IDs. When the traffic of logs with a specific log ID repeatedly exceeds the threshold during the monitoring period, the information center suppresses the processing rate of these specified logs by processing only the conforming traffic and discarding the non-conforming traffic; when the traffic of logs with the specific log ID falls below the threshold and remains below the threshold for five monitoring periods, the suppression is removed.

Procedure

  1. Run:

    system-view

    The system view is displayed.

  2. Run:

    info-center rate-limit threshold value [ byinfoid infoID | bymodule-alias modname alias ]

    The maximum number of logs with the same log ID that the information center can process every second is set.

    By default, the information center processes a maximum of 30 logs with the same log ID in every second. In certain application scenarios, by default, the information center needs to process more than 50 logs with the same log ID in every second. You can set thresholds for logs with different log IDs.
    NOTE:

    Generally, the default threshold is recommended.

    • If the threshold is too low, some logs may be discarded.
    • If the threshold is too high, the information center cannot identify the log ID under which too many logs are generated.

  3. Run:

    info-center rate-limit global-threshold value

    The total number of logs that the information center can process each second is set.

  4. Run:

    info-center rate-limit monitor-period value

    The period for the information center to limit the log processing rate is set.

  5. (Optional) Run:

    info-center rate-limit except { byinfoid infoID | bymodule-alias modname alias }

    Cancel the log processing rate limit for logs with the specified ID or module name.

    If logs with the specified ID or module name will never be generated in a huge number, you can run this command to cancel the log processing rate limit for the logs. After this command is run, the configured log processing rate limit will not be effective for logs with the specified ID or module name.

Translation
Download
Updated: 2019-08-21

Document ID: EDOC1000142080

Views: 108195

Downloads: 141

Average rating:
This Document Applies to these Products
Related Version
Related Documents
Share
Previous Next