Difference between revisions of "GETNEXT"

From Net-SNMP Wiki
Jump to: navigation, search
(Created page with "{{protocol|GETNEXT|utility=snmpgetnext|ref=3416}} The '''GETNEXT''' command (GetnextRequest) requests a list of instances from a remote entity, but expects the '''next''' variab...")
(No difference)

Revision as of 04:57, 19 July 2011

SNMP Protocol Operation
GETNEXT
CLI Utility: snmpgetnext
Protocol List:

The GETNEXT command (GetnextRequest) requests a list of instances from a remote entity, but expects the next variable in the tree back. If a GETNEXT is issued on an object that does not exist, the agent MUST return the next instance in the MIB tree that does exist. If a GETNEXT is issued for an object that does exist, the agent must skip this entry and find the next instance in the MIB tree to return. If no more MIB objects exist in the MIB tree then an End of MIB exception is returned.

The expected returned PDU will be a RESPONSE, although a REPORT may be issued as well in certain SNMPv3 circumstances.