240
Related commands
display rmon history
rmon prialarm
Use rmon prialarm to create an RMON private alarm entry.
Use undo rmon prialarm to remove an RMON private alarm entry.
Syntax
rmon prialarm entry-number prialarm-formula prialarm-des sampling-interval { absolute | delta }
[ startup-alarm { falling | rising | rising-falling } ] rising-threshold threshold-value1 event-entry1
falling-threshold threshold-value2 event-entry2 entrytype { forever | cycle cycle-period } [ owner
text ]
undo rmon prialarm entry-number
Default
No RMON private alarm entries exist.
Views
System view
Predefined user roles
network-admin
Parameters
entry-number: Specifies a private alarm entry index in the range of 1 to 65535.
prialarm-formula: Configures a private alarm variable formula, a string of 1 to 255 characters. The
variables in the formula must be represented in OID format that starts with a dot (.), for example,
(.1.3.6.1.2.1.2.1.10.1)*8. You can configure a formula to perform the basic math operations of
addition, subtraction, multiplication, and division on these variables. To get a correct calculation
result, make sure the following conditions are met:
• The values of the variables in the formula are positive integers.
• The result of each calculating step is in the value range for long integers.
prialarm-des: Configures an entry description, a case-sensitive string of 1 to 127 characters.
sampling-interval: Sets the sampling interval in the range of 10 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 does the following: