MibTable.exe Enumerates an SNMP MIB Table (189516)



The information in this article applies to:

  • Microsoft Platform Software Development Kit (SDK) 1.0, when used with:
    • the operating system: Microsoft Windows NT 4.0
    • the operating system: Microsoft Windows 2000

This article was previously published under Q189516

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:
Release Date: Jul-16-1998

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

119591 How to Obtain Microsoft Support Files from Online Services

Microsoft scanned this file for viruses. Microsoft used the most current virus-detection software that was available on the date that the file was posted. The file is stored on security-enhanced servers that help to 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
				

Modification Type:MinorLast Reviewed:7/11/2005
Keywords:kbfile kbSample kbSNMP KB189516 kbAudDeveloper