H3C S5120-SI Series Command Reference Manual page 688

Hide thumbs Also See for S5120-SI Series:
Table of Contents

Advertisement

from 0 to 65,535, with 0 meaning no corresponding event is triggered and no event action is taken when
an alarm is triggered.
falling-threshold threshold-value2 event-entry2: Sets the falling threshold, where threshold-value2
represents the falling threshold, in the range –2,147,483,648 to +2,147,483,647 and event-entry2
represents the index of the event triggered when the falling threshold is reached. event-entry2 ranges
from 1 to 65,535.
forever: Indicates that the lifetime of the private alarm entry is infinite.
cycle cycle-period: Sets the lifetime period of the private alarm entry, in the range 0 to 2,147,483,647
seconds.
owner text: Owner of the entry, a string of 1 to 127 characters. It is case sensitive and space is
supported.
Description
Use the rmon prialarm command to create an entry in the private alarm table of RMON.
Use the undo rmon prialarm command to remove a private alarm entry from the private alarm table of
RMON.
The following is how the system handles private alarm entries:
1)
Samples the private alarm variables in the private alarm formula at the specified sampling interval.
2)
Performs calculation on the sampled values with the formula.
3)
Compares the calculation result with the predefined thresholds and does the following:
If the result is equal to or greater than the rising threshold, triggers the event specified by the
event-entry1 argument.
If the result is equal to or smaller than the falling threshold, triggers the event specified by the
event-entry2 argument.
Before creating an alarm entry, define the events to be referenced in the event table with the rmon
event command.
An entry cannot be created if the values of the specified alarm variable formula (prialarm-formula),
sampling type (absolute changeratio or delta), rising threshold (threshold-value1) and falling
threshold (threshold-value2) are identical to those of the existing alarm entry in the system.
You can create up to 50 pri-alarm entries.
Related commands: display rmon prialarm, rmon event, rmon history, rmon statistics.
Examples
# Monitor the ratio of the broadcast packets received on the interface by using the private alarm.
Create entry 5 in the private alarm table. Calculate the private alarm variables with the
(1.3.6.1.2.1.16.1.1.1.6.1*100/.1.3.6.1.2.1.16.1.1.1.5.1)
variables at intervals of 10 seconds. Rising threshold of 80 corresponds to event 1 (and record the
event into the log table); falling threshold of 5 corresponds to event 2 (but neither log it nor send a trap).
Set the lifetime of the entry to forever and owner to user1. (Broadcast packet ratio= total number of
formula and sample the corresponding
1-16

Advertisement

Table of Contents
loading

Table of Contents