Microsoft KB Archive/232663

= HOW TO: Use the Snmputil.exe Tool to Verify the Microsoft SNMP Agent Configuration =

Article ID: 232663

Article Last Modified on 10/31/2006

-

APPLIES TO


 * Microsoft Windows 2000 Server
 * Microsoft Windows 2000 Professional Edition
 * Microsoft Windows NT Server 4.0 Standard Edition
 * Microsoft Windows NT Workstation 4.0 Developer Edition

-



This article was previously published under Q232663





IN THIS TASK
SUMMARY
 * Valid Commands
 * Install the Lan Manager MIB-II Agent
 * Sample Query
 * Sample Response



SUMMARY
This step-by-step article describes how to use the Snmputil.exe tool to verify the Microsoft SNMP Agent configuration.

You can use the Snmputil.exe tool in the Microsoft Windows NT Resource Kit to verify that the SNMP service has been correctly configured to communicate with SNMP management stations.

back to the top

Valid Commands
The following are valid commands you can use with the Snmputil.exe tool:
 * Get - This command gets the value of the requested object identifier.
 * Getnext - This command gets the value of the next object that follows the specified object identifier.
 * Walk - This command is used to step through (walk) the MIB branch that is specified by the object identifier.

back to the top

Install the Lan Manager MIB-II Agent
The LAN Manager MIB-II Agent for Windows NT is installed automatically with the SNMP agent, so it is the most convenient MIB to test against.

The following sections illustrate a sample query and response.

back to the top

Sample Query
snmputil getnext localhost public .1.3.6.1.4.1.77.1

back to the top

Sample Response
Variable =

.iso.org.dod.internet.private.enterprises.lanmanager.lanmgr-2.common.comVersionMaj.0

Value = OCTET STRING - 4

For additional information about SNMP and Traps, click the article number below to view the article in the Microsoft Knowledge Base:

172879 Simple Network Management Protocol (SNMP) and Traps

back to the top

Additional query words: snmputil oid lanman mib-II

Keywords: kbhowto kbhowtomaster kbsnmp KB232663

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.