SNMPWALK(1)

NAME
snmpwalk - communicates with a network entity using SNMP GET Next Requests.

SYNOPSIS
snmpwalk -v 1 hostname community [objectID]
snmpwalk [-v 2] hostname noAuth [objectID]
snmpwalk [-v 2] hostname srcParty dstParty context [objectID]

DESCRIPTION
Snmpwalk is an SNMP application that uses GET NEXT Requests to query for a tree of information about a network entity.

The hostname specification may be either a host name or an internet address specified in "dot notation"

The srcParty and dstParty specify the party names for the transaction with the remote system, in the same format as /etc/party.conf.

A variable may also be given on the command line. This variable specifies which portion of the object identifier space will be searched using GET NEXT Requests. All variables in the subtree below the given variable are queried and their values presented to the user. Each variable name is given in the format specified in variables(5).

If the "variable-name" argument is not present, snmpwalk will search MIB-2.

For example

snmpwalk zeus.andrew.cmu.edu zeusMS zeusAgent zeusContext1 system

will retrieve the variables sysDescr.0 and sysObjectID.0 and sysUpTime.0:

Name: system.sysDescr.0
OCTET STRING- (ascii): Unix 4.3BSD

Name: system.sysObjectID.0
OBJECT IDENTIFIER: .iso.org.dod.internet.private.enterprises.CMU.sysID.CMU-Unix

Name: system.sysUpTime.0
Timeticks: (2291082) 6:21:50

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 why the request was malformed.

If the tree search causes attempts to search beyond the end of the MIB, a message will be displayed:

End of MIB.

Adding a "-d" to the argument list will cause the application to dump input and output packets.

SEE ALSO
variables(5), RFC 1155, RFC 1156, RFC 1157, SNMP Security Internet Drafts