< Home

Outputting Debugging Information to a Terminal

If you want to query debugging information generated on the FW on a terminal, you can configure the FW to output debugging information to the terminal.

Context

After this configuration, you can log in to the FW using Telnet or STelnet and view debugging information to know the operating status of the FW.

Procedure

  1. Access the system view.

    system-view

  2. Add the debugging information to the information channel.

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

  3. Optional: Specify an information channel through which debugging information is output to the terminal.

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

    By default, channel 1 is used.

  4. Return to the user view.

    quit

  5. Enable the information display function of the terminal.

    terminal monitor

  6. Enable the debugging information is display function of the terminal.

    terminal debugging

  7. Optional: Enable the function of synchronously displaying debugging information of the terminal.

    terminal echo synchronous

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >