RMON-MIB Support for 64-Bit Counters

This module describes the RMON MIB (RMON-MIB) enhancement to monitor 64-bit MIB objects. The High Capacity (HC) Alarm MIB (HC-ALARM-MIB) is part of this enhancement and provides the capability to create alarms that monitor thresholds that are crossed by 64-bit MIB objects on an access server.

Finding Feature Information

Your software release may not support all the features documented in this module. For the latest caveats and feature information, see Bug Search Tool and the release notes for your platform and software release. To find information about the features documented in this module, and to see a list of the releases in which each feature is supported, see the feature information table at the end of this module.

Use Cisco Feature Navigator to find information about platform support and Cisco software image support. To access Cisco Feature Navigator, go to www.cisco.com/​go/​cfn. An account on Cisco.com is not required.

Information About RMON-MIB Support for 64-Bit Counters

HC Alarm MIB

The High Capacity (HC) Alarm MIB (HC-ALARM-MIB) provides the capability to create alarms that monitor thresholds crossed by 64-bit MIB objects on an access server. The Remote Network Monitoring (RMON)-1 Alarm group and RMON-1 notification types are specific to 32-bit objects. The HC alarm MIB supports the polling of 64-bit RMON objects and is an extension of the RMON-1 Alarm group.

The RMON-1 Events group controls the generation and notification of events from a device. When an event is created, it is added to the RMON-1 Events group table. Each entry in this table describes parameters of an event that can be triggered by alarms. An entry may specify that a log entry must be created whenever an event occurs. The entry may also specify that a notification should occur through Simple Network Management Protocol (SNMP) trap messages.

The HC Alarm MIB defines two SNMP traps: hcRisingAlarm and hcFallingAlarm. The hcRisingAlarm trap is used when a rising-threshold value is crossed, and the hcFallingAlarm trap is used when a falling-threshold value is crossed.

High Capacity (HC) alarms are triggered when a monitored variable exceeds a set rising-threshold value or falls below a set falling-threshold value. HC alarms can be set on any HC MIB object on an access server.

Given below is a typical flow of how a 64-bit RMON object is monitored:

  1. A user creates an event. The user defines the actions to be executed when an event occurs: creation of a log entry or notification by SNMP trap messages. The event is added to the RMON-1 Events group table.
  2. A user creates an HC alarm. The user defines the MIB object that needs to be monitored by the alarm, the interval for monitoring, the rising-threshold value, and the falling-threshold value. The user also defines the events that are triggered when a rising-threshold value or falling-threshold value is crossed. The HC alarm is added to the HC alarm table.
  3. The HC alarm monitors the MIB object according to the defined interval. If the counter value crosses the respective thresholds, the HC alarm is triggered.
  4. When an HC alarm is triggered, the defined events are also triggered.
  5. When an event is triggered, the actions defined in the events are executed. Either a log entry is created or an SNMP trap is generated.

HC Alarm Group

Remote Monitoring (RMON) delivers information in RMON groups, which include elements that can be monitored by alarms. Each RMON group provides specific sets of data that meet common network monitoring requirements.

The table below summarizes the three High Capacity (HC) RMON monitoring groups, as specified in RFC 3434.

HC RMON Group

Function

Elements

High Capacity Alarm Control Group

Controls the configuration of alarms for high capacity MIB object instances.

Includes the HC alarm table and requires the implementation of the RMON-1 Events group. The HC alarm table includes the alarm type, alarm interval, start threshold, and stop threshold.

High Capacity Alarm Capabilities

Describes high capacity alarm capabilities.

Includes a single scalar object that describes the supported HC alarm features.

High Capacity Alarm Notifications

Provides rising and falling threshold notifications for high capacity objects.

Includes two notifications, hcRisingAlarm and hcFallingAlarm. These are generated for high capacity alarms.

How to Configure RMON-MIB Support for 64-Bit Counters

Monitoring a 64-bit MIB Object

Perform this task to configure a High Capacity (HC) alarm to monitor a 64-bit MIB object on an access server.

SUMMARY STEPS

    1.    enable

    2.    configure terminal

    3.    rmon event number [log] [trap community] [description string] [owner string]

    4.    rmon hc-alarms number variable interval {delta | absolute} rising-threshold value [event-number] falling-threshold value [event-number] [owner string]

    5.    exit

    6.    show rmon hc-alarms


DETAILED STEPS
     Command or ActionPurpose
    Step 1 enable


    Example:
    Device> enable
     

    Enables privileged EXEC mode.

    • Enter your password if prompted.
     
    Step 2 configure terminal


    Example:
    Device# configure terminal
     

    Enters global configuration mode.

     
    Step 3 rmon event number [log] [trap community] [description string] [owner string]


    Example:
    Device(config)# rmon event 2
     

    Adds or removes an event that is associated with a Remote Monitoring (RMON) event number to or from the RMON-1 Events group table.

     
    Step 4 rmon hc-alarms number variable interval {delta | absolute} rising-threshold value [event-number] falling-threshold value [event-number] [owner string]


    Example:
    Device(config)# rmon hc-alarms 2 ifInOctets.2 20 delta rising-threshold 2000 2 falling-threshold 1000 1 owner ownerA
     

    Configures an HC alarm on any MIB object.

     
    Step 5 exit


    Example:
    Device(config)# exit
     

    Exits global configuration mode and enters privileged EXEC mode.

     
    Step 6 show rmon hc-alarms


    Example:
    Device# show rmon hc-alarms
     

    Displays the RMON HC alarm table.

     

    Configuration Examples for RMON-MIB Support for 64-Bit Counters

    Example: Monitoring a 64-Bit MIB Object

    You can create a High Capacity (HC) alarm to monitor a 64-bit MIB object. You can create a Remote Monitoring (RMON) event that is triggered by the HC alarm when defined thresholds are crossed.

    The following example shows how to create an RMON event:

    Device> enable
    Device# configure terminal
    Device(config)# rmon event 1 log trap eventtrap description “High ifOutErrors” owner ownerA
    

    In this example, RMON event number 1 is created. The name of the event is defined as High ifOutErrors. A log entry is generated when the event is triggered by an alarm. Additionally, a row is created in the RMON-1 Events group table for user ownerA. A Simple Network Management Protocol (SNMP) trap is also generated when the event is triggered.

    The following is sample output from the show rmon events command:

    Device# show rmon events
    
    Event 1 is active, owned by ownerA
     Description is High ifOutErrors
     Event firing causes log and trap to community rmonTrap, last fired 00:00:00

    The following example shows how to configure an RMON HC alarm:

    Device> enable
    Device# configure terminal
    Device(config)# rmon hc-alarms 2 ifInOctets.2 20 delta rising-threshold 2000 1 falling-threshold 1000 1 owner ownerA
    

    In this example, RMON HC alarm number 2 is created. The alarm monitors the MIB variable ifInOctets.2 once every 20 seconds until the alarm is disabled and checks the change in the rise or fall of the variable. If the value of the ifInOctets.2 variable shows a MIB counter increase of 2000 or more, such as from 100000 to 103000, the alarm is triggered. The alarm, in turn, triggers RMON event number 1, which was configured using the rmon event command. Possible events include a log entry or an SNMP trap. If the value of the ifInOctets.2 variable shows a MIB counter decrease of 1000 or more (when falling threshold is 1000), the alarm is reset.

    
     
    		

    The following is sample output from the show rmon hc-alarms command that displays contents of the RMON HC alarm table of the device:

    Device# show rmon hc-alarms
    
     Monitors ifInOctets.2 every 20 second(s)
     Taking absolute samples, last value was 0
     Rising threshold Low is 4096, Rising threshold Hi is 0, 
                   assigned to event 1
     Falling threshold Low is 1280, Falling threshold Hi is 0,
                   assigned to event 0
     On startup enable rising or falling alarm

    Additional References for RMON-MIB Support for 64-Bit Counters

    Related Documents

    Related Topic

    Document Title

    Cisco IOS commands

    Cisco IOS Master Command List, All Releases

    RMON commands

    Cisco IOS RMON Command Reference

    MIBs

    MIB

    MIBs Link

    HC-ALARM-MIB

    To locate and download MIBs for selected platforms, Cisco IOS releases, and feature sets, use Cisco MIB Locator found at the following URL:

    http:/​/​www.cisco.com/​go/​mibs

    RFCs

    RFC

    Title

    RFC 3434

    Remote Monitoring MIB Extensions for High Capacity Alarms

    Technical Assistance

    Description

    Link

    The Cisco Support and Documentation website provides online resources to download documentation, software, and tools. Use these resources to install and configure the software and to troubleshoot and resolve technical issues with Cisco products and technologies. Access to most tools on the Cisco Support and Documentation website requires a Cisco.com user ID and password.

    http:/​/​www.cisco.com/​cisco/​web/​support/​index.html

    Feature Information for RMON-MIB Support for 64-Bit Counters

    The following table provides release information about the feature or features described in this module. This table lists only the software release that introduced support for a given feature in a given software release train. Unless noted otherwise, subsequent releases of that software release train also support that feature.

    Use Cisco Feature Navigator to find information about platform support and Cisco software image support. To access Cisco Feature Navigator, go to www.cisco.com/​go/​cfn. An account on Cisco.com is not required.

    Table 1 Feature Information for RMON-MIB Support for 64-Bit Counters

    Feature Name

    Releases

    Feature Information

    RMON-MIB Support for 64-Bit Counters

    Cisco IOS XE Release 3.2SE

    Cisco IOS XE Release 3.3SE

    The RMON-MIB Support for 64-Bit Counters feature provides the ability to poll 64-bit counter objects.

    The HC Alarm MIB provides an extension to the RMON-1 Alarm group table objects. The HC Alarm MIB provides the capability to create alarms that monitor thresholds crossed by 64-bit MIB objects on the access server, a capability supported by the RMON MIB for 32-bit MIB objects only.

    In Cisco IOS XE Release 3.2SE, support was added for the Cisco Catalyst 3850 Series Switches, Cisco 5700 Series Wireless LAN Controllers, and Cisco Catalyst 3650 Series Switches.