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 Log Filtering

(Optional) Configuring Log Filtering

Context

If some logs are unnecessary, configure the device not to output these logs. When the filtering function is enabled, the information center does not send the specified logs that satisfy the filtering condition to any channel. As a result, all output directions cannot receive the specified logs.

Procedure

  1. Run:

    system-view

    The system view is displayed.

  2. Run:

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

    or

    info-center filter-id { id | bymodule-alias modname alias } [ bytime interval | bynumber number ]

    The filtering function is configured for specified logs.

    NOTE:
    • Currently, the device can filter logs or modules with a maximum of 50 log IDs or modules. If there are more than 50 log IDs or modules, the system displays a message indicating that the filtering table is full. To configure the filtering function, run the undo info-center filter-id { id | bymodule-alias modname alias } &<1-50>, undo info-center filter-id { id | bymodule-alias modname alias } [ bytime interval | bynumber number ], or undo info-center filter-id all command to delete original IDs or modules, and reconfigure the log ID or module.

    • To add multiple IDs or modules at a time, use a space to separate IDs or modules. The system displays a message to report the result of adding each ID or module.

    • You cannot add the same ID or module repeatedly.

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

Translation
Download
Updated: 2019-08-21

Document ID: EDOC1000142080

Views: 113592

Downloads: 149

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