Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

mib.bin

416 views
Skip to first unread message

Sui Tam

unread,
Mar 25, 2003, 7:33:52 PM3/25/03
to
Do you know what is the content of the mib.bin file
under the system32 directory?

What mib file does it include?


arkadyf

unread,
Mar 26, 2003, 4:03:11 AM3/26/03
to
IMHO mib.bin include all SNMP info
Arkady

"Sui Tam" <sui...@hotmail.com> wrote in message
news:394801c2f32f$6014bee0$a301...@phx.gbl...

Alan J. McFarlane

unread,
Mar 27, 2003, 12:16:24 PM3/27/03
to
Sui Tam wrote:
> Do you know what is the content of the mib.bin file
> under the system32 directory?
>
Its a binary version of various MIB modules. It is used by the "mgmtapi"
library when name-to-number or number-to-name lookup functions are called by
an application.


> What mib file does it include?

Running that old unix command 'strings' on it returns all the object names
easily, for instance strings.exe from Sysinternals.com with "strings.exe -n
2 -a \WINNT\system32\mib.bin > mib_bin_Names.txt". This returns 1246
identifiers on my Windows 2000 Prof box. A text editor would let you see
the names too.

It seem to includes all(?) of the original base MIB-II groups (system,
interfaces, at, ip, icmp, tcp, udp, egp, snmp) then continues with host
(HOST-RESOURCES-MIB?) and printmib modules, it continues with a couple of
experimental MIB modules and finally a bunch of Microsoft(?) enterprise
modules. So run the same command yourself to see it in its full
completeness.

mibcc.exe is used to create such files. I've never done so myself and don't
know much more about it. I guess that you have to include all the MIB
modules you want when you create a new copy of mib.bin; that is you can't
append to it. And secondly I guess that it supports SMIv1 only...

Alan


Jian-Shen Lin[MS]

unread,
Apr 22, 2003, 3:40:05 AM4/22/03
to
http://support.microsoft.com/?id=131776

To compile a Simple Network Management Protocol (SNMP) Management
Information Base (MIB) file with the Windows Internet Name Service (WINS)
and Dynamic Host Configuration Protocol (DHCP) MIB files, use MIBCC.EXE
(included in the Windows NT Resource Kit version 3.5). For example:

MIBCC -oOUT.BIN SMI.MIB LMMIB2.MIB MIB_II.MIB WINS.MIB DHCP.MIB

The order of the MIB files is important. In this example, you need to copy
OUT.BIN to MIB.BIN and place it in the %SYSTEMROOT%\SYSTEM32 directory. If
you compile without the -o option, MIBCC.EXE overwrites the MIB.BIN file
that is already in your %SYSTEMROOT%\SYSTEM32 directory.

Best Regards

Jian Shen

This posting is provided "AS IS" with no warranties, and confers no rights.

0 new messages