Cisco Systems 4500 Switch User Manual


  Open as PDF
of 1504
 
65-3
Software Configuration Guide—Release 15.0(2)SG
OL-23818-01
Chapter 65 Configuring MIB Support
Downloading and Compiling MIBs
Guidelines for Working with MIBs
While working with MIBs, consider the following guidelines:
Mismatches on datatype definitions might cause compiler errors or warning messages. Although
Cisco MIB datatype definitions are not mismatched, some standard RFC MIBs do mismatch. For
example:
MIB A defines: SomeDatatype ::= INTEGER(0..100)
MIB B defines: SomeDatatype ::= INTEGER(1..50)
This example is considered to be a trivial error and the MIB loads successfully with a warning
message.
The next example is considered as a nontrivial error (even though the two definitions are essentially
equivalent), and the MIB is not successfully parsed.
MIB A defines: SomeDatatype ::= DisplayString
MIB B defines: SomeDatatype ::= OCTET STRING (SIZE(0..255))
If your MIB compiler treats these as errors, or you want to delete the warning messages, edit one of
the MIBs that define this same datatype so that the definitions match.
Many MIBs import definitions from other MIBs. If your management application requires MIBs to
be loaded, and you experience problems with undefined objects, you might want to load the
following MIBs in this order:
SNMPv2-SMI.my
SNMPv2-TC.my
SNMPv2-MIB.my
RFC1213-MIB.my
IF-MIB.my
CISCO-SMI.my
CISCO-PRODUCTS-MIB.my
CISCO-TC.my
For additional information and SNMP technical tips, go to the following URL:
http://www.cisco.com/en/US/tech/tk648/tk362/technologies_tech_note09186a0080094aa5.shtml
For a list of SNMP OIDs assigned to MIB objects, go to the following URL and click on
SNMP Object Navigator and follow the links:
http://tools.cisco.com/ITDIT/MIBS/servlet/index
Note You must have a Cisco CCO name and password to access the MIB Locator.
For information about how to download and compile Cisco MIBs, go to the following URL:
http://www.cisco.com/en/US/tech/tk648/tk362/technologies_tech_note09186a00800b4cee.shtml
Downloading MIBs
to download the MIBs onto your system if they are not already present, follow these steps:
Step 1 Review the guidelines in the previous section (“Guidelines for Working with MIBs”).
Step 2 Go to one of the following Cisco URLs. If the MIB you want to download is not there, try the other URL;
otherwise, go to one of the URLs in Step 5.