12.1 SNMP MIBsThe Simple Network Management Protocol (SNMP) provides a means to help manage networks. SNMP is essentially the only network management protocol in use today. SNMP uses Management Information Bases (MIBs) to establish a consistent language between all SNMP-speaking devices. A MIB is written in human-readable MIB language and is saved as a text file. Network management administrators must compile the MIBs that interest them into the proprietary binary format of their network management software. Once this is done, users can browse the MIBs using the network management software. Public MIBs exist as RFCs. A MIB RFC provides a brief description of the intended use of the MIB and includes the contents of the MIB. If you need to compile a MIB in your network management software, you can copy and paste the RFC text, being careful to delete each page's header and footer. You can usually find versions of public MIBs on Web sites in a ready-to-compile form. One such site is http://www.aciri.org/fenner/mibs/mib-index.html. Router vendors support a subset of the public MIBs available, depending on the protocols that run on their routers. Check your router vendor's technical documentation to determine the MIBs it supports. Juniper Networks lists the public MIBs it supports in its Installation and System Management guide. In addition to public MIBs, many vendors provide proprietary MIBs for information specific to their products. Juniper Networks' proprietary MIBs are available at http://www.juniper.net/techpubs/mibs.html. An SNMP daemon runs on each router, and SNMP software runs on one or more network management systems (NMS). SNMP MIBs contain two types of entities, namely traps and objects. SNMP traps are pushed from the router to the NMS, without the NMS requesting the information. SNMP traps are sent when a specific event occurs (for example, a link or adjacency in the networks goes down). MIB objects can be polled from the NMS. They can either be polled manually�a practice known as MIB browsing�or they can be polled periodically and used for graphs of historical data. You can find free NMS software on the Web. The authors' favorite is Active SNMP, which is available at http://www.cscare.com/ActiveSNMP/. When an NMS sends an SNMP request to a router, it identifies the MIB object in which it is interested by the object identifier (OID). OIDs are hierarchical, with each level separated by a dot in the standard notation. Each named level of hierarchy is assigned a number. The following lists where various MIBs are rooted:
To know where a MIB fits into the hierarchy, read the MODULE-IDENTITY section of the MIB. For example the MODULE-IDENTITY of the ipMRouteStdMIB MIB is the following:
The last line of the preceding output shows that this MIB fits into the MIB-2 hierarchy with OID 83. The following shows the full OID of the ipMRouteStdMIB (both named and numeric representation):
12.1.1 Multicast Routing MIB (ipMRouteStdMIB)The IPv4 multicast routing MIB (ipMRouteStdMIB) is defined in RFC 2932. The MIB contains objects that are not specific to any protocol and are needed to manage a multicast network. The MIB contains the following tables:
12.1.2 IGMP MIB (igmpStdMIB)The IGMP MIB is defined in RFC 2933. It contains information about IGMP-enabled interfaces and current group membership of directly attached hosts. The OID is as follows:
The MIB contains the following two tables:
12.1.3 PIM MIB (pimMIB)The PIM MIB is specified in RFC 2934. The PIM MIB contains information about PIM interfaces, neighbors, RP group mappings, and multicast routing tables. The OID is as follows:
The MIB contains the following tables:
12.1.4 MSDP MIB (msdpMIB)The MSDP MIB is specified in an IETF draft maintained by the MSDP working group. The MIB contains information on MSDP peers and the Source-Active cache. The OID is as follows:
The MSDP MIB contains the following tables:
|
Tuesday, December 22, 2009
12.1 SNMP MIBs
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment