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).
Configuring the Device to Output Logs to the Log Buffer

Configuring the Device to Output Logs to the Log Buffer

Context

To view logs in the log buffer, configure the device to output logs to the log buffer.

Procedure

  1. Run:

    system-view

    The system view is displayed.

  2. Run:

    info-center logbuffer

    The device is enabled to output information to the log buffer.

    By default, the device is enabled to output logs to the log buffer.

  3. Run:

    info-center logbuffer channel { channel-number | channel-name }

    The channel used by the device to output logs to the log buffer is specified.

    By default, the device uses channel 4 to output logs to the log buffer.

  4. Run:

    info-center source { module-name | default } channel { channel-number | channel-name } log { state { off | on } | level severity } *

    A rule for outputting logs to a channel is set.

    By default, channel 4 is enabled to output logs and the lowest log severity is warning.

  5. (Optional) Run:

    info-center logbuffer size logbuffer-size

    The maximum number of logs in the log buffer is set.

    By default, a log buffer can store a maximum of 512 logs.

Translation
Download
Updated: 2019-08-21

Document ID: EDOC1000142080

Views: 108528

Downloads: 141

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