Command Manual (For Soliton) – Information Center
H3C S3100 Series Ethernet Switches
Chapter 1 Information Center Configuration
Commands
1-6
The above information indicates that there are 94 warnings and one
informational
information in the log buffer.
1.1.5 display trapbuffer
Syntax
display trapbuffer
[
unit unit-id
] [
size
buffersize
]
View
Any view
Parameter
unit-id
: Unit ID of the device, the value can only be 1.
size buffersize
: Specifies the size of the trap buffer (number of messages the buffer
holds) you want to display. The
buffersize
argument ranges from 1 to 1,024 and
defaults to 256.
Description
Use the
display trapbuffer
command to display the status of the trap buffer and the
records in the trap buffer.
Absence of the
size
buffersize
argument indicates that all trap information is displayed.
Example
# Display the status of the trap buffer and the records in the trap buffer.
<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 : 6
#Apr 1 23:55:52:263 2006 Sysname L2INF/2/PORT LINK STATUS CHANGE:- 1 -
Trap 1.3.6.1.6.3.1.1.5.4(linkUp): portIndex is 4227641, ifAdminStatus is 1,
ifOperStatus is 1
#Apr 2 00:17:47:875 2006 Sysname L2INF/2/PORT LINK STATUS CHANGE:- 1 -
Trap 1.3.6.1.6.3.1.1.5.3(linkDown): portIndex is 4227833, ifAdminStatus is
2, ifOperStatus is 2
……
<Omitted>