Configuration Guide Configuring RMON
absolute sampling value is smaller than 10, the event is only logged. When the absolute sampling value is
larger than 100, the event is logged and a trap message is transmitted to the NMS.
 Configure the host address for receiving trap messages.
 Configure an event group to process alarm trigger.
 Configure the alarm function.
Ruijie# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Ruijie(config)# snmp-server community public rw
Ruijie(config)# snmp-server host 3.3.3.3 trap public
Ruijie(config)# rmon event 1 description rising-threshold-event log trap public owner admin
Ruijie(config)# rmon event 2 description falling-threshold-event log owner admin
Ruijie(config)# rmon alarm 1 1.3.6.1.2.1.2.2.1.15.3 60 delta rising-threshold 100 1 falling-threshold 10 2
owner admin
 Run the show rmon event command to display the event table.
 Run the show rmon alarm command to display the alarm table.
Ruijie# show rmon event
rmon event table:
index = 1
description = rising-threshold-event
type = 4
community = public
lastTimeSent = 0d:0h:0m:0s
owner = admin
status = 1
index = 2
description = falling-threshold-event
type = 2
community =
lastTimeSent = 6d:19h:21m:48s
owner = admin
status = 1
rmon log table:
eventIndex = 2
index = 1
logTime = 6d:19h:21m:48s