User's Manual

Table Of Contents
61
Users Manual of GPL-8000
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.
You can run no rmon alarm index to cancel alarm items whose indexes are index.
b) Configuring rMon event for switch
The steps to configure the rMon event are shown in the following table:
Step Command Purpose
1.
configure
Enter the global configuration mode.
2.
rmon event
index[descriptionstring]
[log] [ownerstring] [trap
community]
Add an rMon event item.
index means the index of the event item. Its effective range
is from 1 to 65535.
description means the information about the event.