Reference Guide
Remote Monitoring (RMON) | 801
Set rmon alarm
To set an alarm on any MIB object, use the rmon alarm or rmon hc-alarm command in GLOBAL 
CONFIGURATION mode. To disable the alarm, use the 
no form of this command:
The following example configures an RMON alarm using the rmon alarm command.
Command Syntax Command Mode Purpose
[no] rmon alarm number variable 
interval {delta | absolute} 
rising-threshold [value event-number] 
falling-threshold value event-number 
[owner string]
or
[no] rmon hc-alarm number variable 
interval {delta | absolute} 
rising-threshold value event-number 
falling-threshold value event-number 
[owner string]
CONFIGURATION Set an alarm on any MIB object. Use the no form of 
this command to disable the alarm.
Configure the alarm using the following optional 
parameters:
• number: Alarm number, should be an integer 
from 1 to 65,535, the value must be unique in the 
RMON Alarm Table
• variable: The MIB object to monitor—the 
variable must be in the SNMP OID format. For 
example, 1.3.6.1.2.1.1.3. The object type must be 
a 32-bit integer for the rmon alarm command 
and 64 bits for the rmon hc-alarm command.
• interval: Time in seconds the alarm monitors the 
MIB variable, the value must be between 1 to 
3,600.
• delta: Tests the change between MIB variables, 
this is the alarmSampleType in the RMON Alarm 
table.
• absolute: Tests each MIB variable directly, this is 
the alarmSampleType in the RMON Alarm table.
• rising-threshold value: Value at which the 
rising-threshold alarm is triggered or reset. For 
the rmon alarm command this is a 32-bits value, 
for rmon hc-alarm command this is a 64-bits 
value.
• event-number: Event number to trigger when the 
rising threshold exceeds its limit. This value is 
identical to the alarmRisingEventIndex in the 
alarmTable of the RMON MIB. If there is no 
corresponding rising-threshold event, the value 
should be zero.
• falling-threshold value: Value at which the 
falling-threshold alarm is triggered or reset. For 
the rmon alarm command, this is a 32-bits 
value, for rmon hc-alarm command this is a 
64bits value.
• event-number: Event number to trigger when the 
falling threshold exceeds its limit. This value is 
identical to the alarmFallingEventIndex in the 
alarmTable of the RMON MIB. If there is no 
corresponding falling-threshold event, the value 
should be zero.
• owner string: (Optional) Specifies an owner for 
the alarm, this is the alarmOwner object in the 
alarmTable of the RMON MIB. D
efault is a 
null-terminated string.










