Configuring RMON

Table Of Contents

Configuring RMON

About RMON

Configuring RMON

RMON Alarm Configuration

RMON Event Configuration

RMON Verification

Default Settings


Configuring RMON


RMON is an Internet Engineering Task Force (IETF) standard monitoring specification that allows various network agents and console systems to exchange network monitoring data. You can use the RMON alarms and events to monitor Cisco MDS 9000 Family switches running the Cisco SAN-OS Release 2.0(1b) or later software.

This chapter includes the following sections:

About RMON

Configuring RMON

RMON Verification

Default Settings

About RMON

All switches in the Cisco MDS 9000 Family support the following RMON functions (defined in RFC 2819):

Alarm—Monitors a specific management information base (MIB) object for a specified interval, triggers an alarm at a specified value (rising threshold), and resets the alarm at another value (falling threshold). Alarms can be used with events; the alarm triggers an event, which can generate a log entry or an SNMP trap.

Event—Determines the action to take when an event is triggered by an alarm. The action can be to generate a log entry, an SNMP trap, or both.

Refer to the Cisco MDS 9000 Family MIB Quick Reference for agent and management information.

Refer to the Cisco MDS 9000 Family Fabric Manager Configuration Guide for information on an SNMP-compatible network management station.

See the "About SNMP Security" section on page 31-1 for SNMP security-related CLI configurations.

Configuring RMON

RMON is disabled by default and no events or alarms are configured in the switch. You can configure your RMON alarms and events by using the CLI or an SNMP-compatible network management station.


Note You must enable the RMON traps in the SNMP configuration for the RMON configuration to function correctly.


To enable RMON traps in the SNMP configuration, follow these steps:

 
Command
Purpose

Step 1 

switch# config t

Enters configuration mode.

Step 2 

switch(config)# snmp-server enable traps rmon

Enables the RMON trap types.


Tip We recommend an additional, generic RMON console application on the network management station (NMS) to take advantage of RMON's network management capabilities. Refer to the Cisco MDS 9000 Family Fabric Manager Configuration Guide.



Note You must also configure SNMP on the switch to access RMON MIB objects.


RMON Alarm Configuration

You can set an alarm on any MIB object. The specified MIB must be an existing SNMP MIB object in standard dot notation (1.3.6.1.2.1.2.2.1.14.16777216 for ifInOctets.16777216).

Use one of the following options to specify the interval to monitor the MIB variable (ranges from 1 to 4294967295 seconds):

Use the delta option to test the change between samples of a MIB variable.

Use the absolute option to test each MIB variable directly.

Use the delta option to test any MIB objects that are counters.

The range for the rising threshold and falling threshold values is -2147483647 to 2147483647.


Caution The falling threshold must be less than the rising threshold.

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.

To enable RMON alarms, follow these steps:

 
Command
Purpose

Step 1 

switch# config t

Enters configuration mode.

Step 2 

switch(config)# rmon alarm 20 1.3.6.1.2.1.2.2.1.14.16777216 2900 delta rising-threshold 15 1 falling-threshold 0 owner test

Configures RMON alarm number 20 to monitor the 1.3.6.1.2.1.2.2.1.14.16777216 once every 900 seconds until the alarm is disabled and checks the change in the variable's rise or fall. If the value shows a MIB counter increase of 15 or more, the software triggers an alarm. The alarm in turn triggers event number 1, which is configured with the RMON event command. Possible events can include a log entry or an SNMP trap. If the MIB value changes by 0, the alarm is reset and can be triggered again.

switch(config)# no rmon alarm 2

Deletes the specified entry from the alarm table.

RMON Event Configuration

To enable RMON events, follow these steps:

 
Command
Purpose

Step 1 

switch# config t

Enters configuration mode.

Step 2 

switch(config)# rmon event 2 log trap eventtrap description CriticalErrors owner Test2

Creates RMON event number 2 to define CriticalErrors and generates a log entry when the event is triggered by the alarm. The user Test2 owns the row that is created in the event table by this command. This example also generates an SNMP trap when the event is triggered.

switch(config)# no rmon event 5

Deletes an entry from the RMON event table.

RMON Verification

Use the show rmon and show snmp commands to display configured RMON and SNMP information (see Example 51-1 and 51-3).

Example 51-1 Displays Configured RMON Alarms

switch# show rmon alarms 
Alarm 1 is active, owned by admin
 Monitors 1.3.6.1.2.1.2.2.1.16.16777216 every 1 second(s)
 Taking delta samples, last value was 0
 Rising threshold is 1, assigned to event 0
 Falling threshold is 0, assigned to event 0
 On startup enable rising or falling alarm

Example 51-2 Displays Configured RMON High Capacity Alarms

switch# show rmon hcalarms
High Capacity Alarm 10 is active, owned by Testuser
 Monitors 1.3.6.1.2.1.31.1.1.1.6.16785408 every 300 second(s)
 Taking absolute samples, last value was 0 (valuePositive)
 Rising threshold low is 4294967295 & high is 15 (valuePositive)
 Rising threshold assigned to event 1
 Falling threshold low is 0 & high is 0 (valueNotAvailable)
 Falling threshold assigned to event 0
 On startup enable rising alarm
 Number of Failed Attempts is 0


Note High capacity RMON alarms can be configured using the CISCO-HC-ALARM-MIB. See the Cisco MDS 9000 Family MIB Quick Reference.


Example 51-3 Displays Configured RMON Events

switch# show rmon events
Event 2 is active, owned by Test2
 Description is CriticalErrors
 Event firing causes log and trap to community eventtrap, last fired 0
Event 500 is active, owned by admin
 Description is
 Event firing causes log, last fired 138807208

Default Settings

Table 51-1 lists the default settings for all RMON features in any switch.

Table 51-1 Default RMON Settings 

Parameters
Default

RMON alarms

Disabled.

RMON events

Disabled.