

<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://net-snmp.sourceforge.io/wiki/index.php?action=history&amp;feed=atom&amp;title=Snmpgetnext</id>
		<title>Snmpgetnext - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://net-snmp.sourceforge.io/wiki/index.php?action=history&amp;feed=atom&amp;title=Snmpgetnext"/>
		<link rel="alternate" type="text/html" href="https://net-snmp.sourceforge.io/wiki/index.php?title=Snmpgetnext&amp;action=history"/>
		<updated>2026-04-23T15:00:58Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.26.3</generator>

	<entry>
		<id>https://net-snmp.sourceforge.io/wiki/index.php?title=Snmpgetnext&amp;diff=5093&amp;oldid=prev</id>
		<title>Wes: Created page with &quot;{{tool|snmpgetnext|manual=1|tutorial=1|code=apps/snmpgetnext.c}}  == Purpose ==  Issue a single SNMP GETNEXT operation to a remote agent.  == Command Line ==  The command lin...&quot;</title>
		<link rel="alternate" type="text/html" href="https://net-snmp.sourceforge.io/wiki/index.php?title=Snmpgetnext&amp;diff=5093&amp;oldid=prev"/>
				<updated>2011-06-30T22:54:59Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{tool|snmpgetnext|manual=1|tutorial=1|code=apps/snmpgetnext.c}}  == Purpose ==  Issue a single SNMP &lt;a href=&quot;/wiki/index.php/GETNEXT&quot; title=&quot;GETNEXT&quot;&gt;GETNEXT&lt;/a&gt; operation to a remote agent.  == Command Line ==  The command lin...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{tool|snmpgetnext|manual=1|tutorial=1|code=apps/snmpgetnext.c}}&lt;br /&gt;
&lt;br /&gt;
== Purpose ==&lt;br /&gt;
&lt;br /&gt;
Issue a single SNMP [[GETNEXT]] operation to a remote agent.&lt;br /&gt;
&lt;br /&gt;
== Command Line ==&lt;br /&gt;
&lt;br /&gt;
The command line options are per the [[snmpcmd]] options.&lt;br /&gt;
&lt;br /&gt;
The remaining options are a list of OIDs to issue GETNEXTs for.  GETNEXTs always find the &amp;#039;&amp;#039;&amp;#039;next&amp;#039;&amp;#039;&amp;#039; instance of data beyond the requested OID.&lt;br /&gt;
&lt;br /&gt;
== Example Usages ==&lt;br /&gt;
&lt;br /&gt;
This requests the next object below the sysContact [[MIB]] node.  This will result in returning the an instance of it (in the case of sysContact there is only one instance, the .0 instance):&lt;br /&gt;
&lt;br /&gt;
  # &amp;#039;&amp;#039;&amp;#039;snmpgetnext -v 1 -c demopublic test.net-snmp.org sysContact&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
  SNMPv2-MIB::sysContact.0 = STRING: Net-SNMP Coders&lt;br /&gt;
&lt;br /&gt;
If we take the resulting OID of what it gave us, we&amp;#039;ll get the next one after this:&lt;br /&gt;
&lt;br /&gt;
  # &amp;#039;&amp;#039;&amp;#039;snmpgetnext -v 1 -c demopublic test.net-snmp.org SNMPv2-MIB::sysContact.0&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
  SNMPv2-MIB::sysName.0 = STRING: test.net-snmp.org&lt;br /&gt;
&lt;br /&gt;
Issuing a whole bunch of GETNEXTs in a row is called &amp;quot;walking&amp;quot; and is exactly what the [[snmpwalk]] tool does.&lt;/div&gt;</summary>
		<author><name>Wes</name></author>	</entry>

	</feed>