Book HomeEssential SNMPSearch this book

2.5. A Closer Look at MIB-II

MIB-II is a very important management group, because every device that supports SNMP must also support MIB-II. Therefore, we will use objects from MIB-II in our examples throughout this book. We won't go into detail about every object in the MIB; we'll simply define the subtrees. The section of RFC1213-MIB that defines the base OIDs for the mib-2 subtree looks like this:

mib-2        OBJECT IDENTIFIER ::= { mgmt 1 }
system       OBJECT IDENTIFIER ::= { mib-2 1 }
interfaces   OBJECT IDENTIFIER ::= { mib-2 2 }
at           OBJECT IDENTIFIER ::= { mib-2 3 }
ip           OBJECT IDENTIFIER ::= { mib-2 4 }
icmp         OBJECT IDENTIFIER ::= { mib-2 5 }
tcp          OBJECT IDENTIFIER ::= { mib-2 6 }
udp          OBJECT IDENTIFIER ::= { mib-2 7 }
egp          OBJECT IDENTIFIER ::= { mib-2 8 }
transmission OBJECT IDENTIFIER ::= { mib-2 10 }
snmp         OBJECT IDENTIFIER ::= { mib-2 11 }
mib-2 is defined as, or From here, we can see that the system group is mib-2 1, or, and so on.
Figure 2-4 shows the MIB-II subtree of the mgmt branch.

Figure 2-4

Figure 2-4. MIB-II subtree

Table 2-5 briefly describes each of the management groups defined in MIB-II. We don't go into great detail about each group, since you can pull down RFC 1213 and read the MIB yourself.

Table 2-5. Brief Description of the MIB-II Groups

Subtree Name




Defines a list of objects that pertain to system operation, such as the system uptime, system contact, and system name.


Keeps track of the status of each interface on a managed entity. The interfaces group monitors which interfaces are up or down and tracks such things as octets sent and received, errors and discards, etc.


The address translation (at) group is deprecated and is provided only for backward compatibility. It will probably be dropped from MIB-III.


Keeps track of many aspects of IP, including IP routing.


Tracks things such as ICMP errors, discards, etc.


Tracks, among other things, the state of the TCP connection (e.g., closed, listen, synSent, etc.).


Tracks UDP statistics, datagrams in and out, etc.


Tracks various statistics about EGP and keeps an EGP neighbor table.


There are currently no objects defined for this group, but other media-specific MIBs are defined using this subtree.


Measures the performance of the underlying SNMP implementation on the managed entity and tracks things such as the number of SNMP packets sent and received.

Library Navigation Links

Copyright © 2002 O'Reilly & Associates. All rights reserved.