falling-threshold threshold-value2 event-entry2: Sets the falling threshold. The threshold-value2 argument
represents the falling threshold in the range of –2147483648 to +2147483647. The event-entry2
argument represents the index of the event that is triggered when the falling threshold is crossed. The
value range for the event-entry2 argument is 0 to 65535. If 0 is specified, the alarm does not trigger any
forever: Configures the entry as a permanent entry. RMON retains a permanent private alarm entry until
it is manually deleted.
cycle cycle-period: Sets the lifetime of the entry, in the range of 0 to 4294967 seconds. RMON deletes
the entry when its lifetime expires.
owner text: Specifies the entry owner, a case-sensitive string of 1 to 127 characters. The string can
contain spaces, but it cannot contain the question mark (?) or any unprintable control characters in the
US ASCII character set.
You can create up to 50 private alarm entries.
Each alarm entry must have a unique alarm variable, sampling interval, sample type, rising threshold, or
falling threshold. You cannot create an alarm entry if all these parameters for the entry are the same as
an existing entry.
To trigger the event associated with an alarm condition, you must create the event with the rmon event
The RMON agent samples variables and takes an alarm action based on a private alarm entry as
Periodically samples the variables specified in the private alarm formula.
Processes the sampled values with the formula.
Compares the calculation result with the predefined thresholds, and then takes one of the following
Triggers the event associated with the rising alarm event if the result is equal to or greater than
the rising threshold.
Triggers the event associated with the falling alarm event if the result is equal to or less than the
# Add a permanent private alarm entry to monitor the ratio of incoming broadcasts to the total number
of incoming packets on GigabitEthernet 3/0/1. Log the rising alarm event when the ratio exceeds 80%,
(18.104.22.168.22.214.171.124.126.96.36.199*100/.188.8.131.52.184.108.40.206.220.127.116.11), where 18.104.22.168.22.214.171.124.126.96.36.199 is the OID of the object
instance etherStatsBroadcastPkts.1, and 188.8.131.52.184.108.40.206.220.127.116.11 is the OID of the object instance
[Sysname] rmon event 1 log
[Sysname] rmon event 2 none
[Sysname] interface GigabitEthernet 3/0/1
[Sysname-GigabitEthernet3/0/1] rmon statistics 1
[Sysname] rmon prialarm 1 (.18.104.22.168.22.214.171.124.126.96.36.199*100/.188.8.131.52.184.108.40.206.220.127.116.11)
BroadcastPktsRatioOfEth1/1 10 absolute rising-threshold 80 1 falling-threshold 5 2
entrytype forever owner user1