The actual command output varies according to the device. The command output here is only an example.
<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.)
--------------------------------------------------------------------------------
<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.)
| Item | Description |
|---|---|
| Sequence | Sequence number. |
| AlarmId | Alarm ID. |
| Severity | Alarm Severity:
|
| Date | Date when the alarm was generated. |
| Time | Time when the alarm was generated. |
| Description | Alarm description. |
| Level | Alarm Severity:
|
| AlarmName | Alarm name. |
| AlarmType | Alarm type. |
| State | Alarm status:
|
| StartTime | Time when the alarm was generated. |
| ClearTime | Time when the alarm was cleared. |
| ClearType | Cleared alarm type. |
| ClearReason | Reason of the alarm clearance. |