DES-7200 Configuration Guide Chapter 2 RMON
Configuration
DES-7200(config)# interface gigabitEthernet 0/3
DES-7200(config-if)# rmon collection history 1 owner aaa1 interval 600
2.3.3 Example of
Configuring
Alarm and
Event
If you want to configure the alarm function for a statistical MIB variable, the
following example shows you how to set the alarm function to the instance
ifInNUcastPkts.6 (number of non-unicast frames received on port 6; the ID of
the instance is 1.3.6.1.2.1.2.2.1.12.6) in IfEntry table of MIB-II. The specific
function is as follows: the switch checks the changes to the number of
non-unicast frames received on port 6 every 30 seconds. If 20 or more than 20
non-unicast frames are added after last check (30 seconds earlier), or only 10
or less than 10 are added, the alarm will be triggered, and event 1 is triggered to
do corresponding operations (record it into the log and send the Trap with
“community” name as “rmon”). The “description” of the event is “ifInNUcastPkts
is too much”). The “owner” of the alarm and the event entry is “aaa1”.
DES-7200(config)#rmon alarm 10 1.3.6.1.2.1.2.2.1.12.6 30 delta
rising-threshold 20 1 falling-threshold 10 1 owner aaa1
DES-7200(config)#rmon event 1 log trap rmon description "ifInNUcastPkts is
too much " owner aaa1
2.3.4 Example of
Showing
RMON Status
2.3.4.1 show rmon alarm
DES-7200# show rmon alarms
Alarm : 1
Interval : 1
Variable : 1.3.6.1.2.1.4.2.0
Sample type : absolute
Last value : 64
Startup alarm : 3
Rising threshold : 10
Falling threshold : 22
Rising event : 0
Falling event : 0
Owner : aaa1
2.3.4.2 show rmon event
DES-7200# show rmon events
Event : 1
Description : firstevent
2-5