User's Manual

Table Of Contents
91
Users Manual of CS-6306R
4.3.2 RMON Configuration
4.3.2.1 RMON configuration task
RMON configuration tasks include:
Configuring the rMon alarm function for the switch
Configuring the rMon event function for the switch
Configuring the rMon statistics function for the switch
Configuring the rMon history function for the switch
Displaying the rMon configuration of the switch
a) Configuring rMon alarm for switch
You can configure the rMon alarm function through the command line or SNMP NMS. If you configure
through SNMP NMS, you need to configure the SNMP of the switch. After the alarm function is
configured, the device can monitor some statistic value in the system. The following table shows how to
set the rMon alarm function:
Command Function
configure
Enter the global configuration mode.
rmon alarm indexvariableinterval
{absolute | delta} rising-thresholdvalue
[eventnumber] falling-thresholdvalue
[eventnumber] [ownerstring]
Add a rMon alarm item.
index is the index of the alarm item. Its effective range is from 1 to
65535.
variable is the object in the monitored MIB. It must be an effective
MIB object in the system. Only obejects in the Integer, Counter,
Gauge or TimeTicks type can be detected.
interval is the time section for sampling. Its unit is second. Its
effective value is from 1 to 4294967295.
absolute is used to directly monitor the value of MIB object. delta is
used to monitor the value change of the MIB objects between two
sampling.
value is the threshold value when an alarm is generated.
eventnumber is the index of an event that is generated when a
threshold is reached. eventnumber is optional.
owner string is to describe the information about the alarm.
exit Enter the management mode again.
write Save the configuration.
After a rMon alarm item is configured, the device will obtain the value of variable-specified oid after an interval.
The obtained value will be compared with the previous value according to the alrm type (absolute or delta). If
the obtained value is bigger than the previous value and surpasses the threshold value specified by
rising-threshold, an event whose index is eventnumber (If the value of eventnumber is 0 or the event
whose index is eventnumber does not exist in the event table, the event will not occur). If the
variable-specified oid cannot be obtained, the state of the alarm item in this line is set to invalid. If you run
rmon alarm many times to configure alarm items with the same index, only the last configuration is effective.