< Home

display trapbuffer

Function

The display trapbuffer command displays information recorded in the alarm buffer.

Format

display trapbuffer [ size value | slot slot-id | module module-name | level { severity | emergencies | alert | critical | error | warning | notification | informational | debugging } ] *

display trapbuffer order by module

Parameters

Parameter Description Value

size value

Specifies the number of displayed records.

It is an integer that ranges from 1 to 1024.

slot slot-id

Specifies the slot number.

-

module module-name

Specifies the name of a module.

-

level severity

Displays the severity level of the specified information.

The value is an integer ranging from 0 to 7.

emergencies

Displays the pieces of the alarms of the emergency severity level.

The severity level of the information is 0.

alert

Displays the pieces of the alarms of the alerts severity level.

The severity level of the information is 1.

critical

Displays the pieces of the alarms of the critical severity level.

The severity level of the information is 2.

error

Displays the pieces of the alarms of the errors severity level.

The severity level of the information is 3.

warning

Displays the pieces of the alarms of the warning severity level.

The severity level of the information is 4.

notification

Displays the pieces of the alarms of the notification severity level.

The severity level of the information is 5.

informational

Displays the pieces of the alarms of the informational severity level.

The severity level of the information is 6.

debugging

Displays the pieces of the alarms of the emergency severity level.

The severity level of the information is 7.

order by module

Displays alarms in the order of the modules they belong to.

NOTE:
  • Alarms in the alarm buffer are classified and displayed by the modules they belong to.
  • Modules are displayed by the time that the module's first alarm is generated in the alarm buffer in descending order.
  • Alarms in each module are displayed by the time they are generated in descending order.

-

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

By default, if no parameter is specified in the command, all the information in the trapping buffer is displayed.

If the information number in the current alarm buffer is smaller than value, the actual items of the alarm information are displayed.

Only the system administrator can run this command.

Example

# Display the information in the alarm buffer.

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 : 3910                                                     
Current messages : 256  

#Jan 10 2019 10:34:18+08:00 sysname ENTEXT/4/MEMORYUSAGERESUME:1.3.6.1.4.1.2011.
5.25.31.2.0.14 Entity 0: The memory usage fell below the threshold(MemoryUsage=7
9 , MemoryUsageThreshold=90, MemoryTotalSize=1097024KB).                        
#Jan 10 2019 10:33:41+08:00 sysname FWD/4/SESSIONCHANGE:1.3.6.1.4.1.2011.6.122.1
5.3.4.7 The average number of sessions on SPU11 CPU0 is suddenly changed from 10
8618 to 18076, and the change rate is 83% , exceeding threshold value 20%.      
#Jan 10 2019 10:33:31+08:00 sysname FWD/4/SESSIONCHANGE:1.3.6.1.4.1.2011.6.122.1
5.3.4.7 The average number of sessions on SPU11 CPU0 is suddenly changed from 20
2748 to 108618, and the change rate is 46% , exceeding threshold value 20%.     
#Jan 10 2019 10:33:21+08:00 sysname FWD/4/SESSIONCHANGE:1.3.6.1.4.1.2011.6.122.1
5.3.4.7 The average number of sessions on SPU11 CPU0 is suddenly changed from 27
0484 to 202748, and the change rate is 25% , exceeding threshold value 20%.     
#Jan 10 2019 10:33:03+08:00 sysname IPSEC/4/IPSECREACHMAXTUNNEL:OID 1.3.6.1.4.1.
2011.6.122.26.6.9 Current counts of ipsec tunnel will reach max CPU limit or lic
ense limit, please check it.                                                    
#Jan 10 2019 10:32:42+08:00 sysname FWD/6/CPUSESSTRAP:1.3.6.1.4.1.2011.6.122.15.
3.2.2 Total number of sessions on SPU11 CPU0 is 396824, lower than threshold val
ue 400000.                                                                     

# Display 2 pieces of information in the alarm buffer.

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 : 3910                                                     
Current messages : 256                                                          
#Jan 10 2019 10:34:18+08:00 sysname ENTEXT/4/MEMORYUSAGERESUME:1.3.6.1.4.1.2011.
5.25.31.2.0.14 Entity 0: The memory usage fell below the threshold(MemoryUsage=7
9 , MemoryUsageThreshold=90, MemoryTotalSize=1097024KB).                        
#Jan 10 2019 10:33:41+08:00 sysname FWD/4/SESSIONCHANGE:1.3.6.1.4.1.2011.6.122.1
5.3.4.7 The average number of sessions on SPU11 CPU0 is suddenly changed from 10
8618 to 18076, and the change rate is 83% , exceeding threshold value 20%.   

# Display the SNMP-generated alarm messages saved in the alarm buffer.

<sysname> display trapbuffer module SNMP
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 : 3

#2015/10/30 17:35:33 242 SNMP/4/WARMSTART:OID 1.3.6.1.4.1.2011.5.25.38.3.2 warmStart
#2015/10/30 17:35:31 242 SNMP/4/COLDSTART:OID 1.3.6.1.4.1.2011.5.25.38.3.2 coldStart.

# Display alarms in the order of the modules they belong to.

<sysname> 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 : 3

#2015/10/30 17:35:35 242 INFO/4/IC_LOGFILE_AGING:OID 1.3.6.1.4.1.2011.5.25.38.3.2 One log file is deleted due to aging. (LogFileName=ehternet0/0/1)
#2015/10/30 17:35:33 242 SNMP/4/WARMSTART:OID 1.3.6.1.4.1.2011.5.25.38.3.2 warmStart
#2015/10/30 17:35:31 242 SNMP/4/COLDSTART:OID 1.3.6.1.4.1.2011.5.25.38.3.2 coldStart.
Table 1 Description of the display trapbuffer command output

Item

Description

Trapping buffer configuration and contents

Status of the alarm buffer

Allowed max buffer size

Maximum alarm buffer size

Actual buffer size

Actual alarm buffer size

Channel number

Channel number

Channel name

Channel name

Dropped messages

Discarded messages

Overwritten messages

Superseded messages

Current messages

Current messages

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >