Summary

  • SNMP's GetNext returned the first accessible OBJECT IDENTIFIER after the name you asked for, which meant every answer arrived pre-loaded as the next question.
  • Chaining those successors made conceptual tables walkable without a prior list of row indices; the table ended when a reply left the subtree, not when the agent complained.
  • SNMPv2 added per-binding endOfMibView and GetBulk throughput, but access views, message limits and a device that keeps changing its mind kept every walk partial and time-bound.

A manager who knew the column's name and not one of its rows

Picture the problem in 1988. A management station wants the destinations and next hops sitting in a router's routing table. It has the MIB in hand, so it knows precisely what the column is called. What it does not know — cannot know, from the schema alone — is which rows exist on this particular box at this particular moment. The instance suffixes are the device's business, and the device is not volunteering.

Ask for the bare column name with an ordinary GetRequest and the agent has nothing to hand you. You have named a category, not a variable.

The 1988 specification in RFC 1067 answered with a smaller, stranger operation. For each name in a GetNextRequest, the agent locates the immediate successor in the lexicographic ordering of variables available for get operations in the relevant MIB view. The response carries that successor's name as well as its value.

The name is the whole trick. If the first reply contains an instance ending in one route index, the manager sends that complete returned name straight back in the next GetNextRequest. The agent advances one accessible instance. Repetition turns a single successor rule into a walk.

Nobody had to define a "give me all the rows" command. The manager owns the loop; the agent answers one ordered question at a time, forever, until told to stop.

A table assembled itself out of ordered names

SNMP's Management Information Base was a virtual information store, not a relational database. Objects carried globally structured OBJECT IDENTIFIER names. A table column and an instance index were welded together into the name of one concrete variable. RFC 2578 later gave the SMIv2 form of these conceptual tables and their INDEX clauses.

RFC 1067's worked example makes the design almost physical. A manager starts with three route-table column names. The reply supplies the first indexed destination, next hop and metric. The manager repeats those returned names and receives the next row. What counts as "next" is the ordering of numeric OID components — not the alphabetical order of friendly labels, not the order rows appear on a dashboard, not anyone's intuition about how a table ought to read.

This fit SNMP's larger economy. The early architecture deliberately starved the agent and enriched the manager: poll variables, let a limited set of traps redirect the timing and focus of the polling, and build the expensive inventory operation at the edge out of a thin shared primitive. A rich view of the network was assembled from a very cheap question asked many times.

The end of a table was not an error

A lexicographic namespace does not politely stop at the edge of your table. When the final instance in a column has been returned, the next successor may be the first instance of the next column. After the final object in the target table, the successor may be an entirely different object somewhere else in the accessible MIB view.

RFC 3416 illustrates both transitions. A response can wrap to the next column and then leave the IP net-to-media table altogether. That outside name is not a malformed reply. It is evidence — the agent telling you, in its own flat way, that the subtree you cared about is behind you.

Which leaves the manager holding a duty the agent cannot infer: define the intended prefix, and stop when a returned name no longer belongs beneath it. A walk that waits only for a protocol error will happily wander into unrelated management data and then file the excess under "discovery."

SNMPv1's terminal behaviour was coarse as well. Under RFC 1157, if any requested name did not precede an accessible successor, the response used noSuchName and an error index. One exhausted column could sour an entire multi-binding request — a single dead end spoiling the whole errand.

SNMPv2 made absence local, then made it fast

RFC 1448 changed the ordinary end condition. When one requested name has no lexicographic successor, its response binding can carry endOfMibView. The other bindings still return names and values. RFC 1905 retained that model on the Standards Track, and RFC 3416 carries it into the current protocol-operations specification.

This was more than friendlier error reporting. It preserved the independence of several simultaneous walks: one column could finish while another kept going. And the result said something narrow and honest — that this binding had no later accessible name in the view governing this request. It did not say the device had nothing else to tell you.

SNMPv2 also introduced GetBulk. The first non-repeaters receive one successor each; the remaining bindings may receive up to max-repetitions successive positions. The same table gets traversed in far fewer request-response exchanges.

But "bulk" never meant "complete." A responder may return fewer bindings than the arithmetic maximum. Message-size limits still apply. RFC 1905 warns managers to pick repetition counts with path fragmentation in mind, especially under network stress. GetBulk batches the successor rule; it does not suspend transport physics.

Every walk reveals a view, never the device in full

The word "accessible" sits inside the successor rule, and it is not decoration. The administrative framework selects the MIB view visible to the operation. RFC 3415 defines views from included and excluded subtrees inside a context, and lets different groups receive different subsets.

So two properly authorized managers can ask the same device for the successor to the same OID and receive different, equally truthful answers. An excluded object is skipped as though it had never joined that request's ordered list. endOfMibView proves the end of accessible names for that operation. It cannot prove that no hidden object, private module, other context or more privileged view exists.

Time draws a second boundary. A walk is a series of exchanges, not a photograph. The route table may change between the first reply and the last, and GetBulk supplies no snapshot isolation. RFC 3416's example retrieves sysUpTime alongside table values, which helps place observations in time — but the protocol never turns separately sampled rows into one atomic inventory.

Sources and limits

The mechanism and its evolution are established by RFC 1067, RFC 1157, RFC 1448, RFC 1905, RFC 2578, RFC 3415 and RFC 3416. They establish naming, successor processing, table examples, bulk retrieval and view scoping. They do not certify a vendor implementation, measure present deployment, guarantee secure transport or make a walk proof of operational effect.

The durable lesson is not that a tree can be made to confess everything. It is that a very small shared rule can make local discovery interoperable — and leave completeness, interpretation and the decision to act with owners who can be named.