SNMP Manager Programmer's Guide
Constructing and Interpreting Packets
SNMP Manager Programmer’s Guide–134249
5-7
Lexicographic Ordering
Some entries have index values derived from multiple entry objects. The TCP group of
MIB-II contains a table, tcpConnTable, whose entries are indexed using the values of
four objects: tcpConnLocalAddress, tcpConnLocalPort, tcpConRemAddress, and
tcpConnRemPort. So an instance identifier for any of the objects in an entry contains
the object’s OID plus a suffix consisting of the values of each of the four index objects.
Here is what the instance identifier of tcpConnState, one of the objects in an entry, might
look like:
Lexicographic Ordering
Lexicographic order is simply ascending instance identifier order. When you perform a
GetNext operation, the value you retrieve is for the MIB object that is lexicographically
next in the SNMP object hierarchy visible to the entity to which you send the GetNext
request.
For example, say your manager sends a series of 17 GetNext requests and the instance
identifier in the first GetNext request is 1.3.6.1.2.1.25.1. Figure 5-5
illustrates the MIB
objects you would retrieve and the order in which you would retrieve them.
504
1.3.6.1.2.1.6.13.1.1.10.0.0.99.12.9.1.2.3.15
OID of tcpConnState
value of tcpConnLocalAddress
value of tcpConnLocalPort
value of tcpConnRemAddress
value of tcpConnRemPort