< Home

Outputting Debugging Information to the Console

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

Context

After this configuration, you can log in to the FW in console mode 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 console.

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

    By default, channel 0 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 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 >