SAMPLE: MibTable.exe Enumerates an SNMP MIB Table

ID: Q189516

The information in this article applies to:

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 Software Library:

 ~ MibTable.exe (size: 39175 bytes) 

Release Date: Jul-16-1998

For more information about downloading files from the Microsoft Software Library, please see the following article in the Microsoft Knowledge Base:

   ARTICLE-ID: Q119591
   TITLE : How to Obtain Microsoft Support Files from Online Services

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 kbSNMP

Last Reviewed: July 17, 1998