snmpget [-v 2] hostname noAuth objectID [objectID]...
snmpget [-v 2] hostname srcParty dstParty objectID [objectID]...
The hostname specification may be either a host name or an internet address specified in "dot notation".
The version 1 community specifies the community name for the transaction with the remote system.
The version 2 srcParty and dstParty specify the party names for the transaction with the remote system, as they are defined in /etc/party.conf. To forgo authentication, use the noAuth keyword instead of specifying party names.
For example
snmpget zeus zeusMS zeusAgent system.sysDescr.0
will retrieve the variable system.sysDescr.0:
system.sysDescr.0 = "SunOS zeus.net.cmu.edu 4.1.3_U1 1 sun4m"
If the network entity has an error processing the request packet, an error packet will be returned and a message will be shown, helping to pinpoint in what way the request was malformed. If there were other variables in the request, the request will be resent without the bad variable.
Adding a "-d" to the argument list will cause the application to dump input and output packets.
Adding a "-q" to the argument list will cause the application to use a quicker, less verbose output form.