Snmputil.exe: SNMP Browser Topics | Next

SnmpUtil Syntax


One Stepsnmputil {{get | getnext | walk} agent community oid [oid] | trap}

Where:

get
gets the current value of the specified oid(s).
getnext
gets the current value of the item in the MIB that follows the item whose oid is specified.
walk
steps through the MIB and retrieves the values of all items in the branch of the MIB specified by oid.
agent
specifies the computer to query. This can be either an IP address or a host name if the computer is specified in the HOSTS file.
community
specifies a community name, which is used to group computers together into management groups. You can see a list of community names in the SNMP Service Configuration dialog box by choosing the Network icon in Control Panel or looking up the value of ValidCommunities in the SNMP\Parameters subkey in the registry. By default, a community called "public" is created when you install SNMP on Windows NT.
oid
the ASN.1 name of the variable being queried, of the form .N.N.N.N (that is, a string of numbers separated by periods or, alternately, a string of names separated by periods). oid is an abbreviation for "object identifier."
trap
tells SNMP Browser to listen for and trap PDUs.

 

note-icon

Note

The SNMP service does not need to be running on the computer that is executing SNMP Browser, but the proper files must be copied to that computer. In particular, Mgmtapi.dll, Snmpapi.dll, Wsnmp32.dll, and Mib.bin must be present, and TCP/IP must be installed on the computer.