The info-center trapbuffer size command sets the maximum number of traps in the trap buffer.
The undo info-center trapbuffer size command restores the default maximum number of traps in the trap buffer.
By default, a trap buffer allows a maximum of 256 traps.
info-center trapbuffer size trapbuffer-size
undo info-center trapbuffer size [ trapbuffer-size ]
Parameter | Description | Value |
---|---|---|
trapbuffer-size | Specifies the maximum number of traps in the trap buffer. | The value is an integer that ranges from 0 to 1024. If trapbuffer-size is 0, traps are not displayed. |
Usage Scenario
The info-center trapbuffer size command sets the maximum number of traps in the trap buffer.
Prerequisites
The Switch has been enabled to output traps to the trap buffer by using the info-center trapbuffer command.
Precautions
When you run the info-center trapbuffer size command multiple times, only the latest configuration takes effect.
If a small value of trapbuffer-size is used, some traps may be not displayed. If a large value of trapbuffer-size is used, repeated traps may be displayed. The default value of trapbuffer-size is recommended.