To configure RMON alarms and events, perform the following steps from privileged EXEC mode.
device# configure terminal
Example of an alarm that tests every sample for a rising threshold
device(config)# rmon alarm 5 1.3.6.1.2.1.16.1.1.1.5.65535 interval 30 absolute rising-threshold 95 event 27 owner john_smith
Example of an alarm that tests the delta between samples for a falling threshold
device(config)# rmon alarm 5 1.3.6.1.2.1.16.1.1.1.5.65535 interval 10 delta falling-threshold 65 event 42 owner john_smith
device(config)# end
device# copy running-config startup-config