Configuring the Device to Output Traps to the Trap Buffer
Procedure
- Run system-view
The system view is displayed.
- 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.
- 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.
- 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.
- (Optional) Run info-center trapbuffer size trapbuffer-size
The maximum number of traps in the trap buffer is set.
By default, the trap buffer can store a maximum of 256 traps.