|
|
− | The <tt>snmpwalk</tt> command is designed to perform a sequence of chained GETNEXT requests automatically, rather than having to issue the necessary [[TUT:snmpgetnext|snmpgetnext]] requests by hand. | + | The <tt>snmpwalk</tt> command is designed to perform a sequence of chained GETNEXT requests automatically, rather than having to issue the necessary <tt>snmpgetnext</tt> requests by hand. |
| | | |
| == Basic Usage == | | == Basic Usage == |
|
|
| | | |
| % snmpwalk -v 2c -c demopublic test.net-snmp.org '''sysDescr''' | | % snmpwalk -v 2c -c demopublic test.net-snmp.org '''sysDescr''' |
− | SNMPv2-MIB::sysDescr.0 = HP-UX net-snmp B.10.20 A 9000/715 | + | SNMPv2-MIB::sysDescr.0 = HP-UX net-snmp B.10.20 A 9000/715<BR> |
| % snmpwalk -v 2c -c demopublic test.net-snmp.org '''sysDescr.0''' | | % snmpwalk -v 2c -c demopublic test.net-snmp.org '''sysDescr.0''' |
| SNMPv2-MIB::sysDescr.0 = HP-UX net-snmp B.10.20 A 9000/715 | | SNMPv2-MIB::sysDescr.0 = HP-UX net-snmp B.10.20 A 9000/715 |
|
|
| == Walking tables == | | == Walking tables == |
| | | |
− | Note that the first example above contains both scalar and table instances.
| + | The first example above contains both scalar and table instances. |
| <tt>Snmpwalk</tt> can also be used for retrieving a single column of a table, | | <tt>Snmpwalk</tt> can also be used for retrieving a single column of a table, |
| by specifying the column object as the starting point. | | by specifying the column object as the starting point. |
|
|
| SNMPv2-MIB::sysORID.5 = OID: SNMP-USER-BASED-SM-MIB::usmMIBCompliance | | SNMPv2-MIB::sysORID.5 = OID: SNMP-USER-BASED-SM-MIB::usmMIBCompliance |
| | | |
Exception encountered, of type "Error"