display alarm active

Function

The display alarm active command displays information about active alarms.

Format

display alarm active

display alarm active verbose

Parameters

Parameter Description Value
verbose

Displays detailed information about an alarm.

-

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
fault-mgr read

Usage Guidelines

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.

Example

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

# Display information about all active alarms.
<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.)
--------------------------------------------------------------------------------
# Display detailed information about all active alarms.
<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.)
Table 1 Description of the display alarm active command output
Item Description
Sequence

Alarm sequence number.

AlarmId

Alarm ID.

Severity

Alarm severity:

  • Critical.
  • Major.
  • Minor.
  • 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

Date and time when the alarm was generated.

RootKindFlag

Alarm generation type.

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