Configuration Guide
728
Configuring SNMP & RMON
RMON Configurations
5.2.4 Configuring Alarm
Step 1
configure
Enter global configuration mode.
Step 2
rmon alarm
index
{
stats-index
sindex
} [
alarm-variable
{ revbyte | revpkt | bpkt | mpkt | crc-
align | undersize | oversize | jabber | collision | 64 | 65-127 | 128-255 | 256-511 | 512-1023
| 1024-10240}] [
s-type
{absolute | delta}] [
rising-threshold
r-hold
] [
rising-event-index
r-event
] [
falling-threshold
f-hold
] [
falling-event-index
f-event
] [
a-type
{rise | fall | all} ] [
owner
owner-name
] [
interval
interval
]
Configuring RMON alarm entries.
index:
Enter the index of the alarm entry from 1 to12 in the format of 1-3 or 5.
sindex:
Set the index of the related statistics entry from 1 to 65535.
revbyte | revpkt | bpkt | mpkt | crc-align | undersize | oversize | jabber | collision | 64 | 65- 127
| 128-255 | 256-511 | 512-1023 | 1024-10240:
Choose an alarm variable to monitor. The
switch will monitor the specified variable in sample intervals and act in the set way when the
alarm is triggered. The default variable is revbyte.
revbyte
means total received bytes;
revpkt
means total received packets;
bpkt
means total
broadcast packets.
mpkt
means total multicast packets;
crc-align
means packets that range
from 64 to 1518 bytes and contain FCS Error or Alignment Error;
undersize
means packets
that are smaller than 64 bytes;
oversize
means packets that are larger than 1518 bytes;
jabber
means packets that are sent when port collisions occur;
collision
means the collision
times in the network segment;
64 | 65-127 | 128-255 | 256-511 | 512-1023 | 1024-10240
means total packets of the specified size.
absolute | delta
:
Choose the sampling mode. The default is absolute. In the absolute mode,
the switch compares the sampling value against the preset threshold; in the delta mode, the
switch obtains the difference between the sampling values of the current interval and the
previous interval, and then compares the difference against the preset threshold.
r-hold:
Enter the rising threshold from 1 to 2147483647; the default is 100.
r-event:
Enter the event entry index from 1 to 12 to bind it to the rising threshold. The event
entry will be triggered when the sampling value exceeds the preset threshold.
f-hold:
Enter a falling threshold from 1 to 2147483647; the default is 100.
f-event:
Enter the event entry index from 1 to 12 to bind it to the falling threshold. The event
entry will be triggered when the sampling value goes below the preset threshold.
rise | fall | all:
Choose an alarm type; the default is all. Rise indicates that the alarm is triggered
only when the sampled value exceeds the rising threshold. Fall indicates that the alarm is
triggered only when the sampled value is below the falling threshold. All indicates that the
alarm is triggered when the sampled value exceeds the rising threshold or is below the falling
threshold.
owner-name:
Enter the owner name of the entry using 1 to 16 characters. The default name
is monitor.
interval:
Set the sampling interval. The value ranges from 10 to 3600 seconds; the default is
1800 seconds.