R3303-HP HSR6800 Routers Fundamentals Command Reference
139
User interface con0 is available.
Please press ENTER.
display alarm
Use display alarm to display alarm information.
Syntax
In standalone mode:
display alarm [ slot slot-number ] [ | { begin | exclude | include } regular-expression ]
In IRF mode:
display alarm [ chassis chassis-number slot slot-number ] [ | { begin | exclude | include }
regular-expression ]
Views
Any view
Default command level
2: Monitor level
Parameters
slot slot-number: Displays alarms existing on the specified card. The slot-number argument represents the
slot number of a card. If the slot-number argument is not specified, the command displays alarm
information for all cards. (n standalone mode.)
chassis chassis-number slot slot-number: Displays the alarm information on the specified card on an IRF
member device. The chassis-number argument represents the IRF member ID of the device, and the
slot-number argument represents the number of the slot where the card resides. If no card is specified,
this command displays the alarm information of all cards in the IRF fabric. (In IRF mode.)
|: Filters command output by specifying a regular expression. For more information about regular
expressions, see Fundamentals Configuration Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays all lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Examples
# In standalone mode, display the alarm information of the device.
<Sysname> display alarm
Slot Level Info
6 ERROR Fan 2 is absent.
6 ERROR Power 2 is absent.
6 ERROR The board in slot 10 is faulty.
3 WARNING The temperature of sensor 3 exceeds the lower limit.
# In IRF mode, display the alarm information of the IRF member devices.