< Home

Configuring the Device to Output Traps to a Terminal

Context

After traps are output to a user terminal, you can view traps 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 traps are output to a user terminal is specified.

    By default, the device uses channel 1 to output traps to a user terminal.

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

    A rule for outputting traps to a channel is set.

    By default, channel 1 is enabled to output traps and the lowest severity is debugging.

  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 trapping

    Traps display is enabled on the user terminal.

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

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