
Chapter 43 Alarm Commands
43.8 Alarm History Show Command
Syntax:
ras> alarm history show [<severity>all] [<alarm>all] [<condition>all] [<sdate>all] [<edate>all] [forrev] [detail]]
where
<sdate> | = | The start date, in yyyy/mm/dd format. |
<edate> | = | The end date, in yyyy/mm/dd format. |
[forrev] | = | The displaying order. Use for to display in chronological |
|
| order starting from the oldest alarm. Use rev to display in |
|
| reverse chronological order starting from the most recent |
|
| alarm. |
[detail] | = | Display |
This command displays historic alarms by severity, alarm category, alarm condition and/or dates.
The following example displays the historic critical level alarms for all alarm categories, and all conditions.
Figure 142 Alarm History Show Command Example
ras> alarm history show major all all all all rev detail | source | ||||
no alarm | condition | severity | timestamp | ||
1 | enet | major | 01/01 00:00:12 enet 1 | ||
2 | enet | * NTENET1:GbE interface is down |
| ||
+down | major | 01/01 00:00:10 enet 1 |
*NTENET1:GbE interface is down
43.9Alarm History Clear Command
Syntax:
ras> alarm history clear [<alarm>all <condition>all] <severity>
This command removes historic alarm entries by alarm category, alarm condition or severity.
The following example removes the historic minor level alarms for all alarm categories, and all conditions.
Figure 143 Alarm History Clear Command Example
ras> alarm history clear minor
| 287 |
|
|