174
T1500-28PCT(config)# rmon event 1-4 user user1 description description1
type log owner owner1
rmon alarm
Description
The rmon alarm command is used to configure SNMP-RMON Alarm
Management. To return to the default configuration, please use no rmon alarm
command. Alarm Group is one of the commonly used RMON Groups. RMON
alarm management allows monitoring the specific alarm variables. When the
value of a monitored variable exceeds the threshold, an alarm event is
generated, which triggers the switch to act in the set way.
Syntax
rmon alarm index interface { fastEthernet port | gigabitEthernet port }
[ alarm-variable { drop | revbyte | revpkt | bpkt | mpkt | crc-lign | undersize |
oversize | fragment | jabber | collision | 64 | 65-127 | 128-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 ]
no rmon alarm index
Parameter
index —— The index number of the Alarm Management entry, ranging from 1 to
12, in the format of 1-3,5.
port —— The Ethernet port number.
alarm-variable —— The alarm variable. By default, the option is “drop”.
s-type —— Sample Type, which is the sampling method for the selected
variable and comparing the value against the thresholds. There are two options,
absolute and delta. Absolute indicates comparing the values directly with the
thresholds at the end of the sampling interval. Delta indicates subtracting the
last sampled value from the current value, and then comparing the difference in
the values with the threshold. By default, the Sample Type is “absolute”.
r-hold —— The rising counter value that triggers the Rising Threshold alarm,
ranging from 1 to 65535. By default, it is 100.
r-event —— Rise Event, which is the index of the corresponding event which will
be triggered if the sampled value is larger than the Rising Threshold. It ranges
from 1 to 12.