Cisco Nexus 5000 Series Switch CLI Software Configuration Guide, NX-OS 4.0(1a)N1 (OL-16597-01, January 2009)

Send feedback to nx5000-docfeedback@cisco.com
28-3
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
OL-16597-01
Chapter 28 Configuring RMON
Configuring RMON
Configuring RMON
This section includes the following topics:
Configuring RMON Alarms, page 28-3
Configuring RMON Events, page 28-4
Configuring RMON Alarms
You can configure RMON alarms on any integer-based SNMP MIB object.
You can optionally specify the following parameters:
The event-number 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 (see the “Configuring
SNMP” section on page 27-5).
To configure RMON alarms, perform this task:
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)# copy running-config startup-config
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
On startup enable rising or falling alarm
Command Purpose
Step 1
switch# configure terminal
Enters configuration mode.
Step 2
switch(config)# rmon alarm index
mib-object sample-interval {absolute |
delta} rising-threshold value
[event-index] falling-threshold value
[event-index] [owner name]
Creates an RMON alarm. The value range is from
-2147483647 to 2147483647. The owner name can be
any alphanumeric string.
switch(config)# rmon hcalarm index
mib-object sample-interval {absolute |
delta} rising-threshold-high value
rising-threshold-low value [event-index]
falling-threshold-high value
falling-threshold-low value
[event-index] [owner name] [storagetype
type]
Creates an RMON high-capacity alarm. The value
range is from -2147483647 to 2147483647. The owner
name can be any alphanumeric string.
The storage type range is from 1 to 5.
Step 3
switch(config)# show rmon {alarms |
hcalarms}
(Optional) Displays information about RMON alarms
or high-capacity alarms.
Step 4
switch(config)# copy running-config
startup-config
(Optional) Saves this configuration change.