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 filter-id

info-center filter-id

Function

The info-center filter-id command configures the AP to filter a specified log or trap.

The undo info-center filter-id command disables the AP from filtering a specified log or trap.

By default, no log or trap is filtered.

Format

info-center filter-id { id | bymodule-alias modname alias } * &<1-50>

undo info-center filter-id { all | { id | bymodule-alias modname alias } * &<1-50> }

Parameters

Parameter Description Value
id Specifies the ID of the log or trap to be filtered.
NOTE:

This parameter indicates the ID of a log. If this parameter fails to be configured, the log specified by this ID does not exist.

The value is an integer that ranges from 0 to 4294967295.
bymodule-alias modname alias Specifies the module name and alias name corresponding to the log or trap to be filtered.

The value is an enumerated value and must be set as prompted by the device.

all Filters all logs or traps. -

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

If some logs or traps are unnecessary, configure the AP not to output the logs and traps. When the filtering function is enabled, the information center does not send the traps with a specified ID that satisfy the filtering condition to any channel. As a result, the trap buffer, log file, console, terminal, or SNMP agent cannot receive the traps with the specified ID.

An ID filter list is the aggregation of the shielded IDs and is arranged in a specified order.

Precautions

  • To add multiple IDs at a time, use a space to separate IDs. The result of each ID is displayed.

  • Currently, the AP can filter traps with a maximum of 50 IDs. If there are more than 50 log IDs, the system displays a message indicating that the filtering table is full. To configure the filtering function, run the undo info-center filter-id { all | { id | bymodule-alias modname alias } * &<1-50> } command to delete original IDs and reconfigure the log ID.

  • You cannot add the same ID or alias name repeatedly.

  • When you add an unregistered or nonexistent ID or alias name, the system displays a message indicating that the system fails to filter the trap with the specified ID or alias name.

  • You are advised to use the module name and alias to filter specified log information. The id parameter can be obtained by running the display info-center register-info [ module module-name ] log command, and the modname and alias parameters can be obtained through the command association function.

Example

# Filter the log with the ID of 1098731530.
<Huawei> system-view
[Huawei] info-center filter-id 1098731530
Info: Succeeded in appending log ID 1098731530.
# Filter information by module names and alias names.
<Huawei> system-view
[Huawei] info-center filter-id bymodule-alias CMD CLKCHGREBOOTCANCELED 
Info: Succeeded in appending log ID 3225948163.
# Cancel filtering for all logs.
<Huawei> system-view
[Huawei] undo info-center filter-id all
Info: Succeeded in deleting all IDs.   
Translation
Download
Updated: 2019-07-18

Document ID: EDOC1100064353

Views: 91680

Downloads: 63

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