Huawei AR530&AR550 Series Industrial Switch Routers
Configuration Guide - Device Management
3.5.2.5 Configuring the Device to Output Traps to the Trap Buffer
Context
To view traps in the trap buffer, configure the device to output traps to the trap buffer.
Procedure
Step 1 Run:
system-view
The system view is displayed.
Step 2 Run:
info-center trapbuffer
The device is enabled to output traps to the trap buffer.
By default, the device is enabled to output traps to the trap buffer.
Step 3 Run:
info-center trapbuffer channel { channel-number | channel-name }
The channel used by the device to output traps to the trap buffer is specified.
By default, the device uses channel 3 to output traps to the trap buffer.
Step 4 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 3 is enabled to output traps and the lowest severity is debugging.
Step 5 (Optional) Run:
info-center trapbuffer size trapbuffer-size [ channel { channel-number | channel-
name } ]
The maximum number of traps in the trap buffer is set.
By default, the trap buffer can store a maximum of 256 traps.
----End
3.5.2.6 Configuring the Device to Output Traps to a Log File
Context
After traps are output to a log file, you can view the log file anytime to monitor device running
based on the traps.
Issue 01 (2014-11-30)
NOTE
Information can be saved in file format only when the device has storage media such as the USB disk or
SD card.
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
3 Information Center Configuration
*
36