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

Fit AP V200R010C00 Command Reference

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).
info-center rate-limit threshold

info-center rate-limit threshold

Function

Using the info-center rate-limit threshold command, you can set the maximum number of logs with the same log ID that the information center can process every second.

Using the undo info-center rate-limit threshold command, you can restore the default setting.

By default, the information center processes a maximum of 30 logs in a minute.

Format

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

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

Parameters

Parameter Description Value
value Specifies the maximum number of logs with the same log ID that the information center can process every second. The value is an integer that ranges from 1 to 500. The default value is 30.
byinfoid infoID Specifies the log ID. The value is a string of 8 characters. The value is in hexadecimal notation, and the valid characters include 0-9, a-f, and A-F.
bymodule-alias modname Specifies the name of the module. The value is a string of 1 to 24 characters without spaces.
alias Specifies the name of the mnemonic. The value is a string of 1 to 64 characters without spaces.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

You can run the info-center rate-limit threshold command to set the maximum number of logs with the same log ID that the information center can process every second. The information center monitors the number of logs that are generated every second under the same log ID. When the number of logs that are generated every second under the same log ID exceeds the threshold during the monitoring period, the information center decides that too many logs are generated and thus suppresses its log processing rate by processing only the conforming traffic (logs within the threshold) and discarding the non-conforming traffic (logs exceeding the threshold). When the number of logs that are generated every second under the same log ID falls below the threshold and remains below the threshold for five monitoring periods, the information center removes the suppression.

NOTE:

If the threshold value1 specified by the parameter byinfoid infoID or bymodule-alias modname alias differs from the threshold value0 specified globally, value1 takes effect.

By default, the information center processes a maximum of 30 logs with the same log ID in every second. In certain application scenarios, the information center is required to process a maximum of more than 30 logs with the same log ID in every second. You can set thresholds for logs with different log IDs.
NOTE:
  • 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.

Example

# Set the maximum number of logs that the information center can process every second to 60.
<Huawei> system-view
[Huawei] info-center rate-limit threshold 60
# Set the maximum number of logs identified by the same module name and mnemonic that the information center can process every second to 30.
<Huawei> system-view
[Huawei] info-center rate-limit threshold 30 bymodule-alias AAA LOCALACCOUNT_ADD
# Set the maximum number of logs with the same log ID that the information center can process every second to 20.
<Huawei> system-view
[Huawei] info-center rate-limit threshold 20 byinfoid ff011015
# Restore the maximum number of logs that the information center can process every second to the default value.
<Huawei> system-view
[Huawei] undo info-center rate-limit threshold
# Cancel the restriction on the maximum number of logs with a specified log ID that the information center can process every second.
<Huawei> system-view
[Huawei] undo info-center rate-limit threshold bymodule-alias AAA LOCALACCOUNT_ADD
Translation
Download
Updated: 2019-07-18

Document ID: EDOC1100064353

Views: 90213

Downloads: 61

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