SNMP Manager Programmer's Guide
Using the MIB Compiler
SNMP Manager Programmer’s Guide–134249
3-5
-exclude MIB-module-name.MIB-object-name
eliminates output for selected MIB objects.  For example, to avoid generating    
-numbers output for the snmp group in MIB-II and the hrSystem group in the Host 
Resources MIB, invoke the MIB compiler like this:
mibcomp -numbers -exclude RFC1213-MIB.snmp -exclude HOST-
RESOURCES-MIB.hrSystem rfc1213 rfc1514a
-l file-search-path
specifies the subvolumes or directories the MIB compiler should use to find input 
files:
mibcomp -l mystuff -l hisstuff mibfile
-o output-file-name
specifies the name of the output file for information generated using the -numbers, 
-nametree, or -readtree options. If you omit this option, the MIB compiler file uses 
an output file named output, creating it in your local subvolume or directory if it 
does not already exist or overwriting information in the file if it does exist:
mibcomp -nametree -o namefile mibfile
-nowarn
suppresses ASN.1 syntax-checking warning messages. To suppress warning 
messages for the last in a series of input files, specify the -nowarn option before the 
last input file name:
mibcomp file1 -nowarn file2
To suppress warning messages for multiple input files, specify the -nowarn option 
before the input file names:
mibcomp -nowarn file1 file2
-quiet
suppresses progress messages generated by the MIB compiler as it checks the syntax 
of each MIB object:
processing object RFC1213-MIB:sysDescr          
processing object RFC1213-MIB:sysObjectID         
processing object RFC1213-MIB:sysUpTime      
To suppress progress messages for the last in a series of input files, specify the   -
quiet option before the last input file name:
mibcomp file1 -quiet file2
To suppress progress messages for multiple input files, specify the -quiet option 
before the input file names:
mibcomp -quiet file1 file2










