CLI Reference Guide-R04

Table Of Contents
Chapter 6
| Remote Monitoring Commands
– 216 –
rmon alarm This command sets threshold bounds for a monitored variable. Use the no form to
remove an alarm.
Syntax
rmon alarm index variable interval {absolute | delta}
rising-threshold threshold [event-index]
falling-threshold threshold [event-index] [owner name]
no rmon alarm index
index – Index to this entry. (Range: 1-65535)
variable – The object identifier of the MIB variable to be sampled. Only
variables of the type etherStatsEntry.n.n may be sampled. Note that
etherStatsEntry.n uniquely defines the MIB variable, and
etherStatsEntry.n.n defines the MIB variable, plus the etherStatsIndex. For
example, 1.3.6.1.2.1.16.1.1.1.6.1 denotes etherStatsBroadcastPkts, plus the
etherStatsIndex of 1.
interval – The polling interval. (Range: 1-31622400 seconds)
absolute – The variable is compared directly to the thresholds at the end of
the sampling period.
delta – The last sample is subtracted from the current value and the
difference is then compared to the thresholds.
threshold – An alarm threshold for the sampled variable.
(Range: 0-2147483647)
event-index – The index of the event to use if an alarm is triggered. If there is
no corresponding entry in the event control table, then no event will be
generated. (Range: 1-65535)
name – Name of the person who created this entry. (Range: 1-32
characters)
Default Setting
1.3.6.1.2.1.16.1.1.1.6.1 - 1.3.6.1.2.1.16.1.1.1.6.1.28
Taking delta samples every 30 seconds,
Rising threshold is 892800, assigned to event 0
Falling threshold is 446400, assigned to event 0
Command Mode
Global Configuration
Command Usage
If an event is already defined for an index, the entry must be deleted before any
changes can be made with this command.
If the current value is greater than or equal to the rising threshold, and the last
sample value was less than this threshold, then an alarm will be generated.
After a rising event has been generated, another such event will not be