Microsoft KB Archive/189516

{|
 * width="100%"|

MibTable.exe Enumerates an SNMP MIB Table

 * }

Q189516

-

The information in this article applies to:


 * Microsoft Win32 Software Development Kit (SDK), used with:
 * the operating system: Microsoft Windows NT, versions 4.0, 5.0
 * the operating system: Microsoft Windows 2000

-

SUMMARY
MibTable.exe is a sample that contains EnumMibTable. EnumMibTable is an SNMP sample that demonstrates how to enumerate rows inside an MIB table, given its MIB oid and number of columns.

MORE INFORMATION
The following file is available for download from the Microsoft Download Center:

"MibTable.exe" Release Date: Jul-16-1998

For additional information about how to download Microsoft Support files, click the article number below to view the article in the Microsoft Knowledge Base:

"Q119591 How to Obtain Microsoft Support Files from Online Services" Microsoft used the most current virus detection software available on the date of posting to scan this file for viruses. Once posted, the file is housed on secure servers that prevent any unauthorized changes to the file.

Name: SNMP Enumeration of MIB Table

Platform: Windows NT 4.0 or higher

Usage: enumMibTable

  -? -a agent (default is localhost) -c community (defult is public) -t TableOid (default is .1.3.6.1.2.1.6.13.1 for tcpConnTable) -n numOfFieldsInTable (default is 5 for tcpConnTable) Some examples:

  [enumMibTable -t .1.3.6.1.2.1.7.5.1 -n 2] for udpTable [enumMibTable -t .1.3.6.1.2.1.4.20.1 -n 5] for ipAddrTable [enumMibTable -t .1.3.6.1.2.1.4.21.1 -n 13] for ipRouteTable [enumMibTable -t .1.3.6.1.2.1.4.22.1 -n 4] for ipNetToMediaTable Additional query words: snmp mib table

Keywords : kbfile kbsample kbOSWinNT400 kbOSWin2000 kbSNMP

Issue type :

Technology : kbWin32SDKSearch kbAudDeveloper kbSDKSearch kbWin32sSearch