The display alarm all command displays all active hardware alarms.
The display alarm hardware command displays hardware alarms about a board or subcard.
The display alarm hardware history command displays historical hardware alarms.
The display alarm history command displays historical alarms.
Parameter | Description | Value |
---|---|---|
hardware |
Displays the historical hardware alarms. |
- |
slot slot-id |
Displays the alarms of the specified board. |
- |
card |
Displays the alarms of the specified card. |
The value is a string of 1 to 31 characters. |
card-id |
Specifies the subcard ID. |
The value is an integer. You can enter a question mark (?) and select a value from the displayed value range. |
all |
Displays all the alarms. |
- |
history |
Displays the historical hardware alarms. |
- |
Usage Scenario
To view hardware alarms about a board on an existing device, run the display alarm hardware command. The alarm information includes the alarm index, level, generation time, and description.
To view hardware alarms about a board on an existing device, run the display alarm hardware history command. The alarm information includes the alarm index, level, generation time, and description.In VS mode, this command is supported only by the admin VS.
Alarm history refers to information about cleared alarms.Precautions
The display alarm all command displays all active hardware alarms. To check all active alarms, run the display alarm active command.
If card is specified, the hardware alarm information about the subcard is displayed.In VS mode, this command is supported only by the admin VS.
The actual command output varies according to the device. The command output here is only an example.
<HUAWEI> display alarm all
--------------------------------------------------------------------------------
Index Level Date Time Info
--------------------------------------------------------------------------------
1 Critical 2020-03-23 20:56:54 Current license value is default, the
reason is License is expired.(ChassisI
D=1)
--------------------------------------------------------------------------------
<HUAWEI> display alarm hardware
-------------------------------------------------------------------------------
Index Level Date Time Info
-------------------------------------------------------------------------------
1 Critical 2020-03-23 20:56:54 Current license value is default, the
reason is License is expired.(ChassisI
D=1)
-------------------------------------------------------------------------------
<HUAWEI> display alarm hardware history all
--------------------------------------------------------------------------------
Index Level Date Time Info
--------------------------------------------------------------------------------
1 Critical 2020-03-23 20:56:54 Current license value is default, the
reason is License is expired.(ChassisI
D=1)
--------------------------------------------------------------------------------
Item | Description |
---|---|
Index | Index of an alarm. |
Level | Alarm severity:
|
Date | Date when the alarm was generated. |
Time | Time when an alarm was generated. |
Info | Alarm description. |