Usage Scenario
To check information about active alarms on a device, run the display alarm active command. The information includes the alarm sequence number, generation time, clearance time, ID, name, severity, status, and description. To check detailed information about active alarms, run the display alarm active verbose command.
Precautions
The display alarm active command displays information about uncleared alarms. To check information about cleared alarms, run the display alarm history command.
The actual command output varies according to the device. The command output here is only an example.
<HUAWEI> display alarm active
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=
xxxx, AdminStatus=DOWN, OperStatus=
DOWN, Reason=The interface is shut down.)
23 0x8520003 2 2020-01-18 The interface status changes. (ifName=
xxxx, AdminStatus=DOWN, OperStatus=
DOWN, Reason=The interface is shut down.)
--------------------------------------------------------------------------------
<HUAWEI> display alarm active verbose
Sequence : 24
AlarmId : 0x8520003 AlarmName : linkDown
AlarmType : processing_error Severity : Major State : active
RootKindFlag: Independent
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.)
Sequence : 23
AlarmId : 0x8520003 AlarmName : linkDown
AlarmType : processing_error Severity : Major State : active
RootKindFlag: Independent
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.)
Item | Description |
---|---|
Sequence | Alarm 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 | Date and time when the alarm was generated. |
RootKindFlag | Alarm generation type. |