30.5 Examples of MIB Variables
Versions 1 and 2 of SNMP each collected variables together in a single large MIB, with the entire set documented in a sing Le RFC. After publication of the second generation, Mib-ii, the IETF took a different approach by allowing the publication of many Individual MIB documents, specify the variables for a specific type of device. As a result, more than 100separate MIBs has been defined as part of the standards process; They specify more than 10,000individual variables. For example, separate RFCs now exist that specify the MIB variables associated with devices such as:a hardware bridge, an Uninterruptible power supply, an ATM switch, and a dialup modem. In addition, many vendors has defined MIB variables for their specific hardware or software products.
Examining a few of the MIB data items associated with TCP/IP protocols would help clarify the contents. Figure 30.3 Lists example MIB variables along with their categories.
Most of the items listed in Figure 30.3 is numeric--each value can is stored in a single integer. However, the MIB also defines more complex structures. For exarnple, the MIB variable iproutingtable refers to an entire routing table. Additional MIB variables define the contents of a routing table entry, and allow the network management protocols to refer ence an individual entry in the table, including the prefix, address mask, and next hop fields. Of course, MIB variables present only a logical definition of each data item--The internal data structures a router uses May differ from the MIB definition. When a query arrives, software in the agent on the router are responsible for mapping between the MIB variable and the data Structure the router uses to store the information.
Abstract from internetworking with TCP/IP Vol i:principles, protocols, and Architecture fourth Edition,
DOUGLAS E. Comer,
Department of computer Sciences Purdue University, West Lafayette, in 47907,
PRENTICE HALL,
Upper Saddle River, New Jersey 07458
Examples of MIB Variables-snmp Tutorial