Command Manual – SNMP-RMON
H3C S7500E Series Ethernet Switches Chapter 2 RMON Configuration Commands
2-11
 Note:
z Before creating an alarm entry, define the events to be referenced in the event table
with the rmon event command.
z When you create an entry, if the values of the specified alarm variable
(alarm-variable), sampling interval (sampling-interval), sampling type (absolute or
delta), rising threshold (threshold-value1) and falling threshold (threshold-value2)
are identical to those of the existing alarm entry, the system considers their
configurations the same and the creation fails.
z You can create up to 60 alarm entries.
z The rising alarm and falling alarm are alternate.
Examples
# Add entry 1 in the alarm table and sample the node 1.3.6.1.2.1.16.1.1.1.4.1 at a
sampling interval of 10 seconds in absolute sampling type. Generate event 1 when the
sampled value is greater than or equal to the rising threshold of 50, and event 2 when
the sampled value is lower than or equal to the falling threshold of 5. Set the owner of
the entry to be user1.
<Sysname> system-view
[Sysname] rmon event 1 log
[Sysname] rmon event 2 none
[Sysname] interface Ethernet 2/0/1
[Sysname-Ethernet 2/0/1] rmon statistics 1
[Sysname-Ethernet 2/0/1] quit
[Sysname] rmon alarm 1 1.3.6.1.2.1.16.1.1.1.4.1 10 absolute rising_threshold
50 1 falling_threshold 5 2 owner user1
# Remove the alarm table entry with the index of 15.
<Sysname> system-view
[Sysname] undo rmon alarm 15
2.1.8 rmon event
Syntax
rmon event entry-number [ description string ] { log | log-trap log-trapcommunity |
none | trap trap-community } [ owner text ]
undo rmon event entry-number
View
System view