Cisco ASR 9000 Series Aggregation Services Router MIB Specification Guide
Chapter 2 - Configuring MIB Support
Downloads: This chapterpdf (PDF - 106.0 KB) | Feedback

Table of Contents

Configuring MIB Support

Downloading and Compiling MIBs

Considerations for Working with MIBs

Downloading MIBs

Compiling MIBs

Enabling SNMP Support

Configuring MIB Support

This chapter describes how to configure SNMP and MIB support for the Cisco ASR 9000 Series router. It includes the following sections:

Downloading and Compiling MIBs

The following sections provide information about how to download and compile MIBs for the Cisco ASR 9000 Series router:

Considerations for Working with MIBs

While working with MIBs, consider the following:

  • Mismatches on datatype definitions might cause compiler errors or warning messages. Although Cisco MIB datatype definitions are not mismatched, some standard RFC MIBs do mismatch, as in the following example:
MIB A defines: SomeDatatype ::= INTEGER(0..100)
MIB B defines: SomeDatatype ::= INTEGER(1..50)

This example is considered to be a trivial error and the MIB loads successfully with a warning message.

The following example is considered as a nontrivial error (even though the two definitions are essentially equivalent), and the MIB is not successfully parsed:

MIB A defines: SomeDatatype ::= DisplayString
MIB B defines: SomeDatatype ::= OCTET STRING (SIZE(0..255))

If your MIB compiler treats these as errors, or you want to delete the warning messages, edit one of the MIBs that defines this same datatype so that the definitions match.

  • Many MIBs import definitions from other MIBs. If your management application requires MIBs to be loaded, and you experience problems with undefined objects, you might want to load the following MIBs in this order:

  • For information about how to download and compile Cisco MIBs, go to the following URL:

Downloading MIBs

Follow these steps to download the MIBs onto your system if they are not already there:

Step 1 Review the considerations in the “Considerations for Working with MIBs” section.

Step 2 Go to one of the following Cisco URLs. If the MIB you want to download is not there, try the other URL; otherwise, go to one of the URLs in Step 5 .

Step 3 Click the link for a MIB to download that MIB to your system.

Step 4 Select File > Save or File > Save As to save the MIB on your system.

Step 5 You can download industry-standard MIBs from the following URLs:


Compiling MIBs

If you plan to integrate the Cisco ASR 9000 Series router with an SNMP-based management application, then you must compile the MIBs for that platform. For example, if you are running HP OpenView on a UNIX operating system, you must compile Cisco ASR 9000 Series router MIBs with the HP OpenView Network Management System (NMS).

Enabling SNMP Support

The following procedure summarizes how to configure the Cisco ASR 9000 Series router for SNMP support.

For detailed information about SNMP commands, go to the following URL:

  • Implementing SNMP module provides general information about configuring and implementing SNMP support. It is part of the Cisco IOS XR System Management Configuration Guide.
  • SNMP Server Commands provides information about SNMP commands. It is part of the Cisco IOS XR System Management Command Reference.

To configure the Cisco ASR 9000 Series router for SNMP support, follow these steps:

Step 1 Set up your basic SNMP configuration through the command-line interface (CLI) on the router. Note that these basic configuration commands are issued for SNMPv2c. For SNMPv3, you must also set up SNMP users and groups. (See the preceding list of documents for command and setup information.)

a. Define SNMP read-only and read-write communities:

Router (config)# snmp-server community Read_Only_Community_Name ro SystemOwner
Router (config)# snmp-server community Read_Write_Community_Name rw SystemOwner

b. Configure SNMP views (to limit the range of objects accessible to different SNMP user groups):

Router (config)# snmp-server view view_name oid-tree {included | excluded}

Step 2 Identify (by IP address) the host to receive SNMP notifications from the router:

Router (config)# snmp-server host host

Step 3 Configure the router to generate notifications. You can use keywords to limit the number and types of messages generated.

Router (config)# snmp-server traps [notification-type] [notification-option]


For information about how to configure SNMP community strings, refer the SNMP Server Commands module in the Cisco IOS XR System Management Command Reference.