209
Syntax
rmon alarm entry-number alarm-variable sampling-interval { absolute | delta } [ startup-alarm
{ falling | rising | rising-falling } ] rising-threshold threshold-value1 event-entry1
falling-threshold threshold-value2 event-entry2 [ owner text ]
undo rmon alarm entry-number
Default
No RMON alarm entries exist.
Views
System view
Predefined user roles
network-admin
Parameters
entry-number: Specifies an alarm entry index in the range of 1 to 65535.
alarm-variable: Specifies an alarm variable, a string of 1 to 255 characters. You can only specify
variables that can be parsed as an ASN.1 INTEGER value (INTEGER, INTEGER32, Unsigned32,
Counter32, Counter64, Gauge, or TimeTicks) for the alarm-variable argument. The alarm variables
must use one of the formats in Table 50.
Table 50 Alarm variable formats
Dotted OID format:
entry.integer.instance
1.3.6.1.2.1.2.1.10.1
Object name.instance
etherStatsOctets.1
etherStatsPkts.1
etherStatsBroadcastPkts.1
ifInOctets.1
ifInUcastPkts.1
ifInNUcastPkts.1
sampling-interval: Sets the sampling interval in the range of 5 to 65535 seconds.
absolute: Specifies absolute sampling. RMON compares the value of the variable with the rising and
falling thresholds at the end of the sampling interval.
delta: Specifies delta sampling. RMON subtracts the value of the variable at the previous sample
from the current value, and then compares the difference with the rising and falling thresholds.
startup-alarm: Specifies alarms that can be generated when the alarm entry becomes valid. If you
do not specify an alarm, RMON can generate a rising alarm or a falling alarm depending on the first
sample.
rising: Generates a rising alarm if the first sample after the entry becomes valid is greater than or
equal to the rising threshold.
falling: Generates a falling alarm if the first sample after the entry becomes valid is less than or equal
to the rising threshold.
rising-falling: Generates a rising alarm if the first sample crosses the rising threshold, or generates
a falling alarm if the first sample crosses the falling threshold.
rising-threshold threshold-value1 event-entry1: Sets the rising threshold. The threshold-value1
argument represents the rising threshold in the range of –2147483648 to +2147483647. The
event-entry1 argument represents the index of the event that is triggered when the rising threshold is