Configuring RMON Alarms
Alarm Example 1
Alarm Example 2
© Copyright Lenovo 2015
This example configuration creates an RMON alarm that checks ifInOctets on
port 20 once every hour. If the statistic exceeds two billion, an alarm is generated
that triggers event index 6.
Configure the RMON Alarm parameters to track the number of packets received
on a port.
CN4093(config)# rmon alarm 1 oid 1.3.6.1.2.1.2.2.1.10.129
CN4093(config)# rmon alarm 1 alarmtype rising
CN4093(config)# rmon alarm 1 risingcrossingindex 100
CN4093(config)# rmon alarm 1 interval 3600
CN4093(config)# rmon alarm 1 risinglimit 2000000000
CN4093(config)# rmon alarm 1 owner "Alarm for ifInOctets"
This example configuration creates an RMON alarm that checks icmpInEchos on
the switch once every minute. If the statistic exceeds 200 within a 60 second
interval, an alarm is generated that triggers event index 5.
Configure the RMON Alarm parameters to track ICMP messages.
CN4093(config)# rmon alarm 1 oid 1.3.6.1.2.1.5.8.0
CN4093(config)# rmon alarm 1 alarmtype rising
CN4093(config)# rmon alarm 1 risingcrossingindex 110
CN4093(config)# rmon alarm 1 intervaltime 60
CN4093(config)# rmon alarm 1 risinglimit 200
CN4093(config)# rmon alarm 1 sample delta
CN4093(config)# rmon alarm 1 owner "Alarm for icmpInEchos"
Chapter 38: Remote Monitoring
527