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 a Terminal

Configuring the Device to Output Logs to a Terminal

Context

After logs are output to a user terminal, you can view logs on the user terminal (host from which you log in to the device through Telnet) to monitor device running.

Procedure

  1. Run:

    system-view

    The system view is displayed.

  2. Run:

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

    A channel through which logs are output to a user terminal is specified.

    By default, the switch uses channel 1 to output logs to a user terminal.

  3. 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 1 is enabled to output logs and the lowest log severity is warning.

  4. Run:

    quit

    Return to the user view.

  5. Run:

    terminal monitor

    Display of logs, traps, and debugging message output is enabled on the user terminal.

    By default, console display is enabled and terminal display is disabled.

  6. Run:

    terminal logging

    Log display is enabled on the user terminal.

    By default, log display is enabled on the user terminal.

Translation
Download
Updated: 2019-12-28

Document ID: EDOC1000142080

Views: 124439

Downloads: 155

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Share
Previous Next