114
Configuring the RMON alarm function
Configuration prerequisites
Before you configure the RMON alarm function, complete the following tasks:
• To enable the managed devices to send traps to the NMS when the NMS triggers an alarm event,
configure the SNMP agent as described in SNMP configuration in the Network Management and
Monitoring Configuration Guide.
• If the alarm variable is the MIB variable defined in the history group or the Ethernet statistics group,
make sure that the RMON Ethernet statistics function or the RMON history statistics function is
configured on the monitored Ethernet interface; otherwise, the creation of the alarm entry fails, and
no alarm event is triggered.
Configuration procedure
To configure the RMON alarm function:
To do…
Use the command… Remarks
1. Enter system view.
system-view —
2. Create an event entry in the
event table.
rmon event entry-number [ description string ]
{ log | log-trap log-trapcommunity | none |
trap trap-community } [ owner text ]
Required.
3. Create an entry in the alarm
table.
rmon alarm entry-number alarm-variable
sampling-interval { absolute | delta } rising-
threshold threshold-value1 event-entry1 falling-
threshold threshold-value2 event-entry2 [ owner
text ]
4. Create an entry in the private
alarm table.
rmon prialarm entry-number prialarm-formula
prialarm-des sampling-interval { absolute |
changeratio | delta } rising-threshold threshold-
value1 event-entry1 falling-threshold threshold-
value2 event-entry2 entrytype { forever | cycle
cycle-period } [ owner text ]
Required.
Use at least one
command.
NOTE:
• A new entry cannot be created if its parameters are identical with the parameters of an existing
entry. If the created entry is a history entry, it will only be compared with the existing history entries
on the same interface. See Table 3 f
or the parameters to be compared for different entries.
• The system limits the total number of each type of entries (See Table 3 f
or the detailed numbers).
When the total number of an entry reaches the maximum number of entries that can be created, the
creation fails.