What mib file does it include?
"Sui Tam" <sui...@hotmail.com> wrote in message
news:394801c2f32f$6014bee0$a301...@phx.gbl...
> 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
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.