display trapbuffer [ size value | slot slot-id | module module-name | level { severity | level } ] *
display trapbuffer order by module
Parameter | Description | Value |
---|---|---|
size value |
Displays the specified number of traps recently generated in the trap buffer. If this parameter is not specified, all traps are displayed. |
The value is an integer that ranges from 1 to 1024. |
module module-name |
Displays traps of a specified module in the trap buffer. |
Enumerated type. The value depends on the registered module. |
slot slot-id |
Displays traps in a specified slot. |
The value must be set according to the device configuration. |
level { severity | level } |
Displays traps of specified severity name or ID.
|
The value of severity is an integer that ranges from 0 to 7.
The value of level is the enumerated type:
|
order by module |
Displays alarms in the order of the modules they belong to. NOTE:
|
- |
The display trapbuffer command displays the information of recent traps. If the number of traps in the trap buffer is smaller than value, traps of the actual number are displayed.
# Display all traps in the trap buffer.
<HUAWEI> 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 : 6248 Current messages : 256 #Sep 19 2012 04:38:03+08:00 HUAWEI DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011 .5.25.191.3.1 configurations have been changed. The current change number is 8, the change loop count is 0, and the maximum number of records is 4095. #Sep 19 2012 04:37:39+08:00 HUAWEI LINE/5/VTYUSERLOGIN:OID 1.3.6.1.4.1.2011.5.2 5.207.2.2 A user login. (UserIndex=34, UserName=VTY, UserIP=10.135.18.114, UserC hannel=VTY0) #Sep 19 2012 04:35:48+08:00 HUAWEI LINE/5/VTYUSERLOGOUT:OID 1.3.6.1.4.1.2011.5. 25.207.2.4 A user logout. (UserIndex=34, UserName=VTY, UserIP=10.135.18.143, Use rChannel=VTY0) #Sep 19 2012 04:20:54+08:00 HUAWEI LINE/5/VTYUSERLOGIN:OID 1.3.6.1.4.1.2011.5.2 5.207.2.2 A user login. (UserIndex=34, UserName=VTY, UserIP=10.135.18.143, UserC hannel=VTY0) #Sep 19 2012 04:08:03+08:00 HUAWEI LINE/5/VTYUSERLOGOUT:OID 1.3.6.1.4.1.2011.5. 25.207.2.4 A user logout. (UserIndex=34, UserName=VTY, UserIP=10.135.18.143, Use rChannel=VTY0) #Sep 19 2012 03:54:27+08:00 HUAWEI LINE/5/VTYUSERLOGIN:OID 1.3.6.1.4.1.2011.5.2 5.207.2.2 A user login. (UserIndex=34, UserName=VTY, UserIP=10.135.18.143, UserC hannel=VTY0) #Sep 19 2012 03:54:18+08:00 HUAWEI LINE/5/VTYUSERLOGINFAIL:OID 1.3.6.1.4.1.2011 .5.25.207.2.3 A user login fail. (UserIndex=34, UserName=VTY, UserIP=10.135.18.1 43, UserChannel=VTY0) #Sep 19 2012 02:51:03+08:00 HUAWEI LINE/5/VTYUSERLOGOUT:OID 1.3.6.1.4.1.2011.5. 25.207.2.4 A user logout. (UserIndex=34, UserName=VTY, UserIP=10.135.18.57, User Channel=VTY0) #Sep 19 2012 02:50:24+08:00 HUAWEI LINE/5/VTYUSERLOGOUT:OID 1.3.6.1.4.1.2011.5. 25.207.2.4 A user logout. (UserIndex=35, UserName=VTY, UserIP=10.135.18.164, Use rChannel=VTY1) #Sep 19 2012 02:40:19+08:00 HUAWEI LINE/5/VTYUSERLOGIN:OID 1.3.6.1.4.1.2011.5.2 5.207.2.2 A user login. (UserIndex=35, UserName=VTY, UserIP=10.135.18.164, UserC hannel=VTY1) #Sep 19 2012 02:35:23+08:00 HUAWEI LINE/5/VTYUSERLOGIN:OID 1.3.6.1.4.1.2011.5.2 5.207.2.2 A user login. (UserIndex=34, UserName=VTY, UserIP=10.135.18.57, UserCh annel=VTY0) ......
<HUAWEI> display trapbuffer order by module 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 : 79 #Nov 11 2010 11:51:24 HUAWEI LINE/5/VTYUSERLOGIN:OID 1.3.6.1.4.1.2011.5.25.207.2.2 A user login. (UserIndex=36, UserName=**, Us erIP=10.135.19.152, UserChannel=VTY2) #Nov 10 2010 18:54:06 HUAWEI LINE/5/VTYUSERLOGIN:OID 1.3.6.1.4.1.2011.5.25.207.2.2 A user login. (UserIndex=35, UserName=**, Us erIP=10.135.186.212, UserChannel=VTY1) #Nov 10 2010 12:07:44 HUAWEI LINE/5/VTYUSERLOGIN:OID 1.3.6.1.4.1.2011.5.25.207.2.2 A user login. (UserIndex=34, UserName=**, Us erIP=10.135.19.157, UserChannel=VTY0) #Nov 10 2010 11:19:23 HUAWEI LINE/5/VTYUSERLOGOUT:OID 1.3.6.1.4.1.2011.5.25.207.2.4 A user logout. (UserIndex=34, UserName=**, UserIP=10.134.27.157, UserChannel=VTY0) #Nov 10 2010 10:48:57 HUAWEI LINE/5/VTYUSERLOGIN:OID 1.3.6.1.4.1.2011.5.25.207.2.2 A user login. (UserIndex=34, UserName=**, Us erIP=10.134.27.157, UserChannel=VTY0) #Nov 10 2010 10:48:48 HUAWEI LINE/5/VTYUSERLOGOUT:OID 1.3.6.1.4.1.2011.5.25.207.2.4 A user logout. (UserIndex=34, UserName=**, UserIP=10.134.27.157, UserChannel=VTY0) #Nov 10 2010 10:38:23 HUAWEI LINE/5/VTYUSERLOGIN:OID 1.3.6.1.4.1.2011.5.25.207.2.2 A user login. (UserIndex=34, UserName=**, Us erIP=10.134.27.157, UserChannel=VTY0)
Item |
Description |
---|---|
Trapping buffer configuration and contents |
Whether the device is enabled to output traps to the trap buffer:
To enable the device to output traps to the trap buffer, run the info-center trapbuffer command. |
Allowed max buffer size |
Maximum size of the trap buffer. |
Actual buffer size |
Actual size of the trap buffer. To set the size of the trap buffer, run the info-center trapbuffer size command. |
Channel number |
Number of the channel used to send traps to the trap buffer. To set the channel number, run the info-center channel command. |
Channel name |
Name of the channel used to send traps to the trap buffer. To set the channel name, run the info-center channel name command. |
Dropped messages |
Number of dropped messages. |
Overwritten messages |
Number of overwritten messages. |
Current messages |
Number of current messages. |