display alarm

Use display alarm to display alarm information.

Syntax

In standalone mode:

display alarm [ slot slot-number ]

In IRF mode:

display alarm [ chassis chassis-number slot slot-number ]

Views

Any view

Predefined user roles

network-admin

network-operator

mdc-admin

mdc-operator

Parameters

slot slot-number: Specifies a card by its slot number. If you do not specify this option, the command displays the alarm information of all cards. (In standalone mode.)

chassis chassis-number slot slot-number: Specifies a card on an IRF member device by its slot number and the member ID. If you do not specify this option, the command displays the alarm information for all cards in the IRF fabric. (In IRF mode.)

Examples

# (In standalone mode) Display alarm information.

<Sysname> display alarm
Slot Level   Info                                                               
-    ERROR   Fan 1 is faulty.                                                   
-    INFO    Power 1 is absent.                                                 

Table 27: Command output

Field

Description

Slot

Slot number of the card with an alarm. If the value is a hyphen (-), the alarm was generated by the chassis. (In standalone mode.)

Level

Alarm severity. Possible values include ERROR, WARNING, NOTICE, and INFO, in descending order.

Info

Detailed alarm information.

faulty

The card is starting up or is faulty.

# In IRF mode, display alarm information.

<Sysname> display alarm
Chassis Slot Level   Info                                                       
1       -    ERROR   Chassis 1 fan 1 is faulty                                  
1       -    INFO    Chassis 1 power 6 is absent.
1       1    ERROR   Chassis 1 slot 11 temperature is too high, above the warning limit.
2       -    ERROR   Chassis 2 fan 1 is faulty                                  
2       -    INFO    Chassis 2 power 6 is absent.
2       1    ERROR   Chassis 2 slot 11 temperature is too high, above the warning limit.

Table 28: Command output

Field

Description

Chassis

ID of the IRF member device with an alarm.

Slot

Slot number of the card.

Level

Alarm severity. Possible values include ERROR, WARNING, NOTICE, and INFO, in descending order.

Info

Detailed alarm information.