< Home

Outputting Alarms to the Console

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

Context

After this configuration, you can log in to the FW in console mode and view alarms to know the operating status of the FW.

Procedure

  1. Access the system view.

    system-view

  2. Add alarm information to the information channel.

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

  3. Optional: Specify the information channel through which alarms are 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 alarm display function of the terminal.

    terminal trapping

  7. Optional: Enable the alarm information synchronous display function of the terminal.

    terminal echo synchronous

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