How do I compile and load the Junos OS MIBs onto an SNMP manager or NMS?
For your network management systems (NMSs) to identify and understand the MIB objects used by Junos OS, you must first load the MIB files to your NMS using a MIB compiler. A MIB compiler is a utility that parses the MIB information, such as the MIB object names, IDs, and data types for the NMS.
To download the Junos OS MIB package from the Enterprise-Specific MIBs and Traps section, click Junos OS Enterprise MIBs or Junos OS TechLibrary.
The Junos OS MIB package has two folders:
You must have the required standard MIBs downloaded and decompressed before downloading any enterprise-specific MIBs. There might be dependencies that require a particular standard MIB to be present on the compiler before loading a particular enterprise-specific MIB.
The Junos OS MIB package is available in .zip and .tar formats. Download the format appropriate for your requirements.
Use the following steps to load MIB files for devices running Junos OS:
TIP: While loading a MIB file, if the compiler returns an error message indicating that any of the objects are undefined, open the MIB file using a text editor and ensure that all the MIB files listed in the IMPORT section are loaded on the compiler. If any of the MIB files listed in the IMPORT section are not loaded on the compiler, load the missing file or files first, then try to load the MIB file that failed.
The system might return an error if files are not loaded in a particular order.