156
# Disable displaying the copyright statement.
<Sysname> system-view
[Sysname] undo copyright-info enable
•
When a Telnet user logs in, the user view prompt appears:
<Sysname>
•
When a console user quits user view, the following message appears:
User interface aux0 is available.
Please press ENTER.
display alarm
Use
display alarm
to display alarm information.
Syntax
display alarm
[
slot
slot-number
] [
|
{
begin
|
exclude
|
include
}
regular-expression
]
Views
Any view
Default command level
2: Monitor level
Parameters
slot
slot-number
: Displays alarms present on an IRF member device. The
slot-number
argument
represents
the IRF member ID of the device. If no IRF member device is specified, this command displays the alarm
information on all IRF member devices.
|
: 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
# 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.