Cisco ASR 9000 Series Aggregation Services Router MIB Specification Guide
Chapter 1 - Cisco ASR 9000 Series Routers MIB Overview
Downloads: This chapterpdf (PDF - 172.0KB) The complete bookPDF (PDF - 2.94MB) | Feedback

Table of Contents

Cisco ASR 9000 Series Routers MIB Overview

Benefits of MIB Enhancements

SNMP Overview

MIB Description

SNMP Notifications

SNMP Versions

SNMPv1 and SNMPv2c

SNMPv3

SNMP Security Models and Levels

Requests For Comments

Object Identifiers

SNMP Configuration Information

Cisco ASR 9000 Series Routers MIB Overview

This chapter provides an overview of the Cisco ASR 9000 Series router management feature. This chapter contains the following topics:

Benefits of MIB Enhancements

The Cisco ASR 9000 Series router management feature allows the router to be managed through the Simple Network Management Protocol (SNMP).

Using the Cisco ASR 9000 Series router management feature, you can:

  • Manage and monitor the Cisco ASR 9000 Series router resources through an SNMP-based Network Management System (NMS)
  • Use SNMP set and get requests to access information in Cisco ASR 9000 Series router MIBs
  • Reduce the amount of time and system resources required to perform functions such as inventory management

Other benefits include:

  • A standards-based technology (SNMP) for monitoring faults and performance on the router
  • Support for all SNMP versions (SNMPv1, SNMPv2c, and SNMPv3)
  • Notification of faults, alarms, and conditions that might affect services
  • A way to access router information other than through the Command-Line Interface (CLI) or Extensible Markup Language (XML).

SNMP Overview

The Simple Network Management Protocol (SNMP) is an application-layer protocol that provides a standardized framework and a common language used for monitoring and managing devices in a network.

The SNMP framework has three parts:

  • SNMP manager—A system used to control and monitor the activities of network hosts using SNMP. The most common managing system is called a NMS. The term NMS can be applied to either a dedicated device used for network management, or the applications used on a network management device. A variety of network management applications are available for use with SNMP. These features range from simple command-line applications to feature-rich graphical user interfaces (such as the CiscoWorks2000 line of products).
  • SNMP agent—A software component in a managed device that maintains the data for the device and reports the data, as needed, to managing systems. The agent and MIB reside on the routing device (router, access server, or switch). To enable the SNMP agent on a managed device, you must define the relationship between the manager and the agent (see the “Enabling SNMP Support” section).
  • Management Information Base (MIB)— A MIB is a database of objects that can be managed on a device. This database describes various components and provides information about the attributes of the components of a network device.

Instead of defining a large set of commands, SNMP places all operations in a get-request, get-next-request, and set-request format. For example, an SNMP manager can get a value from an SNMP agent or set a value in that SNMP agent.

MIB Description

A MIB is a database of the objects that can be managed on a device. The managed objects or variables can be set or read to provide information on the network devices and interfaces and are organized hierarchically. The MIB consists of collections of managed objects identified by object identifiers. MIBs are accessed using a network management protocol such as SNMP. A managed object (sometimes called a MIB object or an object) is one of a number of characteristics of a managed device, such as a router. Managed objects comprise one or more object instances, which are essentially variables. The Cisco implementation of SNMP uses the definitions of MIB II variables described in RFC 1213.

MIBs contain two types of managed objects:

  • Scalar objects—Define a single object instance (for example, ifNumber in the IF-MIB and bgpVersion in the BGP4-MIB).
  • Columnar objects—Define multiple related objects such as zero, one, or more instances at any point in time that are grouped together in MIB tables (for example, ifTable in the IF-MIB defines the interface).

System MIB variables are accessible through SNMP as follows:

  • Accessing a MIB variable—Function is initiated by the SNMP agent in response to a request from the NMS. The agent retrieves the value of the requested MIB variable and responds to the NMS with that value.
  • Setting a MIB variable—Function is initiated by the SNMP agent in response to a message from the NMS. The SNMP agent changes the value of the MIB variable to the value requested by the NMS.

SNMP Notifications

An SNMP agent can notify the SNMP manager when important system events occur, such as the following:

  • An interface or card starts or stops running
  • Temperature thresholds are crossed
  • Authentication failures occur

When an agent detects an alarm condition, the agent:

  • Logs information about the time, type, and severity of the condition
  • Generates a notification message, which it then sends to a designated IP host

SNMP notifications are sent as one of the following:

  • Traps—Unreliable messages, which do not require receipt acknowledgment from the SNMP manager.

The Cisco implementation of SNMP uses the definitions of SNMP traps described in RFC 1215.

When an agent detects an alarm condition, it logs information about the time, type, and severity of the condition and generates a notification message, which it then sends to a designated IP host. SNMP notifications is sent as traps . See the “Enabling Notifications” section for instructions on how to enable notifications and traps on the Cisco ASR 9000 Series router. Use the snmp-server host command to specify that SNMP notifications are sent as traps. See “Monitoring Notifications,” for information about Cisco ASR 9000 Series router traps.

SNMP Versions

Cisco IOS XR Software supports the following versions of SNMP:

  • SNMPv1—The Simple Network Management Protocol: An Internet standard, defined in RFC 1157. Security is based on community strings.
  • SNMPv2c—The community-string based administrative framework for SNMPv2. SNMPv2c is an update of the protocol operations and data types of SNMPv2p (SNMPv2 classic).
  • SNMPv3—Version 3 of SNMP. SNMPv3 uses the following security features to provide secure access to devices:

Message integrity—Ensuring that a packet has not been tampered with in transit.

Authentication—Determining that the message is from a valid source.

Encryption—Scrambling the contents of a packet to prevent it from being learned by an unauthorized source.

SNMPv1 and SNMPv2c

Both SNMPv1 and SNMPv2c use a community-based form of security. The community of managers who are able to access the agent MIB is defined by an IP address access control list and password.

SNMPv2c support includes a bulk-retrieval mechanism and more detailed error message reporting to management stations. The bulk-retrieval mechanism supports the retrieval of tables and large quantities of information, minimizing the number of round-trip transmissions required. SNMPv2c improved error-handling support includes expanded error codes that distinguish different kinds of error conditions; these conditions are reported through a single error code in SNMPv1. Error return codes report the error type. Three kinds of exceptions are also reported:

  • No such object
  • No such instance
  • End of MIB view

SNMPv3

SNMPv3 provides security models and security levels:

  • A security model is an authentication strategy that is set up for a user and the group in which the user resides.
  • A security level is the permitted level of security within a security model.
  • A combination of a security model and a security level determines the security mechanism employed when handling an SNMP packet.

SNMP Security Models and Levels

Table 1-1 describes the security models and levels provided by the different SNMP versions.

 

Table 1-1 SNMP Security Models and Levels

Model
Level
Authentication
Encryption
Description

v1

noAuthNoPriv

Community string

No

Uses match on community string for authentication.

v2c

noAuthNoPriv

Community string

No

Uses match on community string for authentication.

v3

noAuthNoPriv

User name

No

Uses match on user name for authentication.

authNoPriv

MD5 or SHA

No

Provides authentication based on HMAC-MD5 or HMAC-SHA algorithm.

authPriv

MD5 or SHA

DES

Provides authentication based on HMAC-MD5 or HMAC-SHA algorithm. Also provides DES 56-bit encryption based on CBC-DES (DES-56) standard.

You must configure the SNMP agent to use the version of SNMP supported by the management station. An agent can communicate with multiple managers; for this reason, you can configure the Cisco IOS XR Software to support communications with one management station using the SNMPv1 protocol, one using the SNMPv2c protocol, and another using SMNPv3.

Requests For Comments

MIB modules are typically defined in Request for Comment (RFC) documents that have been submitted to the Internet Engineering Task Force (IETF) for formal discussion and approval. RFCs are written by individuals or groups for consideration by the Internet Society and the Internet community as a whole.

Before getting RFC status, recommendations are published as Internet Draft (I-D) documents. RFCs that have become recommended standards are also labeled as standards (STD) documents. For more information, see the Internet Society and IETF websites (http://www.isoc.org and http://www.ietf.org).

We provide private MIB extensions with each Cisco system. Cisco enterprise MIBs comply with the guidelines described in the relevant RFCs unless otherwise noted in the documentation.

Object Identifiers

An object identifier (OID) uniquely identifies a MIB object on a managed network device. The OID identifies the MIB object’s location in the MIB hierarchy, and provides a means of accessing the MIB object in a network of managed devices:

  • Standard RFC MIB OIDs are assigned by the Internet Assigned Numbers Authority (IANA).
  • Enterprise MIB OIDs are assigned by Cisco Assigned Numbers Authority (CANA).

Each number in the OID corresponds to a level of MIB hierarchy. For example, the OID 1.3.6.1.4.1.9.9.xyz represents the. xyz with the location in the MIB hierarchy as follows. Note that the numbers in parentheses are included to help show correspondence to the MIB hierarchy. In actual use, OIDs are represented as numerical values only.

iso(1).org(3).dod(6).internet(1).private(4).enterprises(1).cisco(9).ciscoMgt(9). nn -MIB

You can uniquely identify a managed object, such as ifNumber in the IF-MIB, by its object name (iso.org.dod.internet.mgmt.enterprises.interfaces.ifNumber) or by its OID (1.3.6.1.2.1.2.1).

For a list of OIDs assigned to MIB objects, go to the following URL:

ftp://ftp.cisco.com/pub/mibs/oid/

SNMP Configuration Information

The following references provide information about configuring SNMP:

  • 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 module provides information about SNMP commands. It is part of the Cisco IOS XR System Management Command Reference.