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

Configuration Guide - Device Management

CloudEngine 12800 and 12800E V200R005C10

This document describes the configurations of Device Management, including device status query, hardware management, Information Center Configuration, NTP, Synchronous Ethernet Configuration, Fault Management Configuration, Energy-Saving Management Configuration, Performance Management Configuration, Maintenance Assistant Configuration, and OPS Configuration.
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

After logs are output to the log buffer, you can view the logs on the log buffer to monitor the device status.

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 } [ size logbuffer-size ]

    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 [ channel { channel-number | channel-name } ]

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

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

  6. Run commit

    The configuration is committed.

Translation
Download
Updated: 2019-04-20

Document ID: EDOC1100074722

Views: 18823

Downloads: 20

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