display alarm history

Function

The display alarm history command displays alarm history.

Format

display alarm history

display alarm history verbose

Parameters

Parameter Description Value
verbose

Displays detailed alarm history.

-

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
fault-mgr read

Usage Guidelines

Alarm history refers to information about cleared alarms. The system stores a maximum of 1024 alarms. Therefore, the display alarm history command displays a maximum of 1024 alarm history records.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display alarm history.
<HUAWEI> display alarm history
1:Critical  2:Major  3:Minor  4:Warning
--------------------------------------------------------------------------------
Sequence   AlarmId    Level Date Time  Description                              
--------------------------------------------------------------------------------
24         0x8520003  2     2020-01-18 The interface status changes. (ifName=
                             13:27:43  xxxx, AdminStatus=UP, OperStatus=UP
                                       , Reason=Interface physical link is Up.) 
23         0x8520003  2     2020-01-18 The interface status changes. (ifName=
                             13:05:02  xxxx, AdminStatus=UP, OperStatus=UP
                                       , Reason=Interface physical link is Up.) 
--------------------------------------------------------------------------------
# Display detailed alarm history.
<HUAWEI> display alarm history verbose
Sequence    : 24        
AlarmId     : 0x8520003             AlarmName : linkDown                      
AlarmType   : processing_error      Severity  : Major            State : cleared                    
StartTime   : 2020-01-18 13:27:43+08:00 DST           
Description : The interface status changes. (ifName=xxxx, AdminStatus=DOWN, OperStatus=DOWN, Reason=The interface is shut down.)
ClearTime   : 2020-01-18 13:30:08+08:00 DST           
ClearType   : service_resume      
ClearReason : The interface status changes. (ifName=xxxx, AdminStatus=UP, OperStatus=UP, Reason=Interface physical link is Up.)

Sequence    : 23        
AlarmId     : 0x8520003             AlarmName : linkDown                      
AlarmType   : processing_error      Severity  : Major            State : cleared                    
StartTime   : 2020-01-18 13:05:02+08:00 DST           
Description : The interface status changes. (ifName=xxxx, AdminStatus=DOWN, OperStatus=DOWN, Reason=The interface is shut down.)
ClearTime   : 2020-01-18 13:30:00+08:00 DST           
ClearType   : service_resume      
ClearReason : The interface status changes. (ifName=xxxx, AdminStatus=UP, OperStatus=UP, Reason=Interface physical link is Up.)
Table 1 Description of the display alarm history command output
Item Description
Sequence

Sequence number.

AlarmId

Alarm ID.

Severity

Alarm Severity:

  • 1: Critical.
  • 2: Major.
  • 3: Minor.
  • 4: Warning.
Date

Date when the alarm was generated.

Time

Time when the alarm was generated.

Description

Alarm description.

Level

Alarm Severity:

  • 1: Critical.
  • 2: Major.
  • 3: Minor.
  • 4: Warning.
AlarmName

Alarm name.

AlarmType

Alarm type.

State

Alarm status:

  • active.
  • cleared.
StartTime

Time when the alarm was generated.

ClearTime

Time when the alarm was cleared.

ClearType

Cleared alarm type.

ClearReason

Reason of the alarm clearance.

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