You can optionally specify the following parameters:
• The eventnumber to trigger if the rising or falling threshold exceeds the specified limit.
• The owner of the alarm.
Ensure you have configured an SNMP user and enabled SNMP notifications.
Before you begin
Ensure you have configured an SNMP user and enabled SNMP notifications.
Procedure
PurposeCommand or Action
Enters global configuration mode.switch# configure terminal
Step 1
Creates an RMON alarm. The value range is
from –2147483647 to 2147483647. The owner
name can be any alphanumeric string.
switch(config)# rmon alarm index mib-object
sample-interval {absolute | delta}
rising-threshold value [event-index]
falling-threshold value [event-index] [owner
name]
Step 2
Creates an RMON high-capacity alarm. The
value range is from –2147483647 to
switch(config)# rmon hcalarm index
mib-object sample-interval {absolute | delta}
Step 3
2147483647. The owner name can be any
alphanumeric string.
rising-threshold-high value
rising-threshold-low value [event-index]
falling-threshold-high value
The storage type range is from 1 to 5.
falling-threshold-low value [event-index]
[owner name] [storagetype type]
Displays information about RMON alarms or
high-capacity alarms.
(Optional) switch# show rmon {alarms |
hcalarms}
Step 4
Saves this configuration change.(Optional) switch# copy running-config
startup-config
Step 5
Example
The following example shows how to configure RMON alarms:
switch# configure terminal
switch(config)# rmon alarm 1 1.3.6.1.2.1.2.2.1.17.83886080 5 delta rising-threshold 5 1
falling-threshold 0 owner test
switch(config)# exit
switch# show rmon alarms
Alarm 1 is active, owned by test
Monitors 1.3.6.1.2.1.2.2.1.17.83886080 every 5 second(s)
Taking delta samples, last value was 0
Rising threshold is 5, assigned to event 1
Falling threshold is 0, assigned to event 0
Cisco Nexus 3548 Switch NX-OS System Management Configuration Guide, Release 7.x
111
Configuring RMON
Configuring RMON Alarms