SNMP MIB Objects

To use SNMP effectively, an administrator must become acquainted with the SNMP Management Information Base (MIB), which defines all the values that SNMP is capable of reading or setting.

The SNMP MIB is arranged in a tree-structured fashion, similar in many ways to a disk directory structure of files. The top-level SNMP branch begins with the ISO internet directory, which contains four main branches:
The tree structure is an integral part of the SNMP standard. However, the most pertinent parts of the tree are the leaf objects of the tree that provide actual management data about the device. Generally, SNMP leaf objects can be partitioned into two similar but slightly different types that reflect the organization of the tree structure:
Discrete MIB Objects
Discrete SNMP objects contain one piece of management data. The operator has to know only the name of the object and no other information. Discrete objects often represent summary values for a device, particularly useful for scanning information from the network for the purposes of comparing network device performance. These objects are often distinguished from Table objects by adding a '.0' (dot-zero) extension to their names. (If the '.0' extension is omitted from a leaf SNMP object name, it is always implied.)
Table MIB Objects
Table SNMP objects contain multiple pieces of management data; they allow parallel arrays of information to be supported. These objects are distinguished from Discrete objects by requiring a '.' (dot) extension to their names that distinguishes the particular value being referenced.

By convention, SNMP objects are always grouped in an Entry directory, within an object with a Table suffix. (The ifDescr object described above resides in the ifEntry directory contained in the ifTable directory.) Several constraints are placed on SNMP objects as follows:

The '.' (dot) extension is sometimes referred to as the instance number of an SNMP object. In the case of Discrete objects, this instance number will be zero. In the case of Table objects, this instance number will be the index into the SNMP table.