Configuring the rmon alarm function – H3C Technologies H3C MSR 50 User Manual
Page 32

•
You can successfully create a history control entry, even if the specified bucket size exceeds the
history table size supported by the device. However, the effective bucket size will be the actual value
supported by the device.
To configure the RMON history statistics function:
Step Command
34.
Enter system view.
system-view
35.
Enter Ethernet interface view.
interface interface-type interface-number
36.
Create an entry in the RMON history
control table.
rmon history entry-number buckets number interval
sampling-interval [ owner text ]
Configuring the RMON alarm function
Follow these guidelines when you configure the RMON alarm function:
•
To send traps to the NMS when an alarm is triggered, configure the SNMP agent as described in
"Configuring SNMP" before configuring the RMON alarm function.
•
If the alarm variable is a MIB variable defined in the history group or the Ethernet statistics group,
make sure the RMON Ethernet statistics function or the RMON history statistics function is
configured on the monitored Ethernet interface. Otherwise, even if you can create the alarm entry,
no alarm event can be triggered.
•
You cannot create a new event, alarm, or private alarm entry that has the same set of parameters
as an existing entry. For parameters to be compared for duplication, see
.
•
After the maximum number of entries is reached, no new entry can be created. For the table entry
limits, see
.
To configure the RMON alarm function:
Step Command
Remarks
37.
Enter system view.
system-view
N/A
rmon event entry-number [ description string ] { log |
log-trap log-trapcommunity | none | trap
trap-community } [ owner text ]
38.
Create an event entry in
the event table.
N/A
•
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 ]
39.
Create an entry in the
alarm table or private
alarm table.
Use at least one
command.
•
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 ]
19