Chapter 63 RMON
Ethernet Switch CLI Reference Guide
252
This example shows you how to configure an alarm using the following settings:
• alarm index number: 2
• variable: getting the number of errored packets received on port 1
• how often to get a data sample: every 60 seconds
• sampling method: delta
• when to send an alarm: when the value is higher than the rising threshold
• the rising threshold: 50
• which event’s action should be taken for the rising alarm: 2 (see Section 63.3.1 on page
251)
• the falling threshold: 0
• which event’s action should be taken for the falling alarm: 0 (see Section 63.3.1 on page
251)
• who will handle this alarm: operator
interval
-integer
This is the time interval (in seconds) between data samplings.
absolute
|delta
This is the method of obtaining the sample value and calculating the value to be
compared against the thresholds.
• absolute - the sampling value of the selected variable will be compared directly
with the thresholds.
• delta - the last sampling value of the selected variable will be subtracted from
the current sampling value first. Then use the difference to compare with the
thresholds.
startup-
alarm
Specify when the Switch should generate an alarm regarding to the rising and/or
falling thresholds.
• risingAlarm - the Switch generates an alarm if the sampling value (or
calculated value) is greater than or equal to the rising threshold.
• fallingAlarm - the Switch generates an alarm if the sampling value (or
calculated value) is less than or equal to the falling threshold.
• risingOrFallingAlarm - the Switch generates an alarm either when the
sampling value (or calculated value) is greater than or equal to the rising
threshold or when the sampling value (or calculated value) is less than or equal to
the falling threshold.
rising-
integer
Specify an integer for the rising threshold. When a value that is greater or equal to
this threshold, the Switch generates an alarm.
rising-
event-
index
Specify an event’s index number (between 0 and 65535). The Switch will take the
corresponding action of the selected event for the rising alarm. Set this to 0 if you do
not want to take any action for the alarm.
falling-
integer
Specify an integer for the falling threshold. When a value that is smaller or equal to
this threshold, the Switch generates an alarm.
falling-
event-
index
Specify an event’s index number (between 0 and 65535). The Switch will take the
corresponding action of the selected event for the falling alarm. Set this to 0 if you do
not want to take any action for the alarm.
owner Specify who should handle this alarm.