MIB (management information base)
In an SNMP system, the hierarchical data structure (not, as it is often mistakenly called, a database) that describes all the "objects" that a device can report the status of and, in some cases, set the value of.
The structure of the MIB is laid out in an SNMP-related standard, RFC 1155, "Structure and Identification of Management Information for TCP/IP-based Internets," which defines how MIB information is organized and what data types are allowed and how resources within the MIB are represented and named.
The MIB contains the name, object identifier (a numeric value), data type and indication of whether the value associated with the object can be read from and/or written to. While the top levels of the MIB are fixed, specific subtrees have been defined by IETF, vendors and other organizations.
At the top of the MIB tree is the most general information available about a network, and each branch below contains more detail about specific devices and services.
According to RFC 1155: "The root node itself is unlabeled, but has at least three children directly under it: One node is administered by the International Organization for Standardization, with label iso(1); another is administered by the International Telegraph and Telephone Consultative Committee, with label ccitt(0); and the third is jointly administered by the ISO and the CCITT, joint-iso-ccitt(2)." There are many, many layers under those.
Variables in MIB are named using Abstract Syntax Notation 1 (ASN.1), an international standard for representing data types and structures. For example, the MIB variable in the IP subtree that counts incoming IP datagrams is named internet.mgmt.mib-2.ip.iplnReceives.
But when sending and receiving messages under SNMP, variable names are not stored as text strings. Instead, a numeric form of ASN.l is used to represent each named node in the tree. This is not only computationally simpler but also reduces the size of packets.
These numeric labels create what is effectively an outline numbered ID, starting with the root of the tree as 1. So, 1.1 is a child of the root and a sibling of 1.2 and a parent of 1.1.n.
A complete numeric name that starts from the root of the MIB tree is called an object ID (OID).
S
o for our example using the variable iplnReceives, the sequence of numeric labels that refer to it are 1.2.1.4.3.
But that's not all. In an SNMP message the numeric representation of a simple variable name will have a zero appended to signify that the name represents the only instance of the variable in the MIB. In other words, there are no other identically named variables. So, for iplnReceives, the exact form is "1.2.1.4.3.0."
Now, remember that a manageable device is called an agent and a computer that is used to work with an agent is called a network management station (NMS). The management software that runs on an NMS is called a management application.
Network equipment that is designed to be managed by SNMP must implement a MIB, and the management application must be told what can be managed on the agent. The collection of the descriptions of all the manageable features might be either a standard or custom MIB subtree, which is described by a MIB module. MIB module files are loaded into the NMS so that the device can be managed.
You might be wondering how many MIB subtrees there are. The Web site mibCentral boasts that it indexes "over 4,900 SNMP MIBs representing over 680,000 MIB object definitions."
From The ABCs of MIB, Network World, 07/15/02.
Additional resources
Topic: Management
Latest management news, analysis and newsletters from Network World Fusion.
Add a comment