< Home

Outputting Alarms to the Trap Buffer

If you want to view alarms generated on the FW in the trap buffer, you can configure the FW to output alarms to the trap buffer.

Context

By default, the information center enables the function of outputting alarms to the trap buffer. Alarms are output to the trap buffer over information channel 3. You can change the information channel over which alarms are output to the trap buffer and adjust the capacity of the trap buffer.

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 trap buffer.

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

    By default, channel 3 is used.

  4. Optional: Set the trap buffer size.

    info-center trapbuffer size buffersize

    By default, the trap buffer contains a maximum of 256 alarms.

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