query for a tree of information about a network entity
snmpwalk [-d] host community [variable_name]
If you don't specify variable_name, snmpwalk searches the entire Internet MIB for host.
Retrieve the variables sysDescr.0, sysObjectID.0, and sysUpTime.0:
snmpwalk netdev-kbox.cc.cmu.edu public system
The output is similar to:
Name: system.sysDescr.0 OCTET STRING- (ascii): Kinetics FastPath2 Name: system.sysObjectID.0 OBJECT IDENTIFIER: .iso.org.dod.internet.private.enterprises.CMU.sysID.CMU-KIP Name: system.sysUpTime.0 Timeticks: (2291082) 6:21:50
The snmpwalk utility uses GET NEXT requests to query for a tree of information about a network entity.
If the network entity has an error processing the request packet, an error packet is returned and snmpwalk displays a message to help pinpoint how the request was malformed.
If snmpwalk tries to search beyond the end of the MIB, it displays this message:
End of MIB
snmpd,
snmpget,
snmpgetnext,
snmpnetstat,
snmpstatus,
snmptest,
snmptrap,
snmptrapd,
mib.txt file
RFC 1065, RFC 1066, RFC 1067
Marshall T. Rose, The Simple Book: An Introduction to
Internet Management, 2nd ed. (Prentice-Hall, 1994,
ISBN 0-13-177254-6)