2432
C
163: I
HAPTER
NFORMATION
display trapbuffer
Syntax
View
Parameter
Description
Example
info-center channel name
Syntax
View
C
C
C
ENTER
ONFIGURATION
OMMANDS
display trapbuffer [ size buffersize ]
Any view
size buffersize: Displays specified number of the latest trap messages in a trap
buffer, where buffersize represents the number of the latest trap messages in a
trap buffer, in the range 1 to 1,024.
Use the
display trapbuffer
information recorded.
Absence of the size buffersize argument indicates that all trap information is
displayed.
# Display the state of the trap buffer and the trap information recorded.
<Sysname> display trapbuffer
Trapping buffer configuration and contents:enabled
Allowed max buffer size : 1024
Actual buffer size : 256
Channel number : 3 , channel name : trapbuffer
Dropped messages : 0
Overwritten messages : 0
Current messages : 1
#Dec 31 14:01:25 2004 Sysname DEV/2/LOAD FINISHED:
Trap 1.3.6.1.4.1.2011.2.23.1.12.1.20: frameIndex is 0, slotIndex 0.4
Table 632 Descriptions on the fields of the display trapbuffer command
Field
Trapping buffer configuration
and contents
Allowed max buffer size
Actual buffer size
Channel number
Channel name
Dropped messages
Overwritten messages
Current messages
info-center channel channel-number name channel-name
undo info-center channel channel-number
System view
command to display the state and the trap
Description
Indicates the current state of the trap buffer and its
contents, which could be enabled or disabled.
The maximum buffer size allowed
The actual buffer size
The channel number of the trap buffer, defaults to 3
The channel name of the trap buffer, defaults to trapbuffer
The number of dropped messages
The number of overwritten messages (when the buffer size
is not big enough to hold all messages, the latest messages
overwrite the old ones).
The number of the current messages.