MIBC(1) — NEWS-OS Programmer’s Manual
NAME
mibc − MIB Compiler
SYNOPSIS
mibc mibfile ...
DESCRIPTION
mibc takes one or more MIB files and compiles them into one file that has the format of the NEWS-OS /etc/snmp.variables file. Currently the output is sent out mibc’s standard output.
NOTES
Any MIB module that imports definitions from another MIB module will not compile unless that other MIB module is also included in the command line. Order does not matter. The mib files with the SNMP software are installed in a directory /usr/sony/doc/SNMP/mibc with a Makefile. (actually whose name is Make.variables.) To add new mibs, simply edit the Make.variables, and place the mibs in the same directory, and then type ’make −f Make.variables’. This Makefile will cause the output of mibc to be placed in a file called snmp.variables (by default).
BUGS
Mibc does not contain a full blown ASN.1 parser. There are two productions from ISO8824 that are not implemented, but should not affect MIBs written for use with SNMP. mibc will complain about clashes in object names when objects from different MIB modules are identical. Since the current form of the snmp.variables file does not support scoping, mibc will permit it. A better snmp.variables file format is needed, using scoping, and possibly including much more MIB information.
NEWS-OSRelease 4.2.1R