A Management Information Base (MIB) is structured in a tree-like hierarchy consisting of objects and their associated values. The structure is based on a series of parent-child relationships that define the various levels of the hierarchy. The root of the MIB tree is the ISO assigned Object Identifier (OID) “1.3.6.1”, and it contains a number of branches, each representing a different category of objects.
At each level of the tree, there are two types of nodes: branches and leaves. Branches represent groups of objects that share a common characteristic, while leaves represent individual objects and their values. Each node in the tree is uniquely identified by an OID that reflects its position in the hierarchy.
For example, the “system” node is located two levels deep in the tree under the “Internet” and “mgmt” branches. Its OID is “1.3.6.1.2.1.1”. The individual objects under this node, such as “sysDescr” and “sysUpTime”, have OIDs that reflect their position under the “system” node.
In summary, a MIB is structured as a tree hierarchy with nodes representing various categories of objects and their respective OIDs identifying their position in the hierarchy. Each node is either a branch or a leaf, representing a group of objects or an individual object and its value.