| Lexicographic Ordering in SNMP |
|
|
|
Why Should I Care about Lexicographic Ordering? You should care about lexicographic ordering because it is required by GETNEXT and GETBULK operations. See RFC 1157 section 4.1.3 for SNMPv1 operations. See RFC 1905 section 4.2.2 for SNMPv2 GETNEXT and section 4.2.3 for SNMPv2 GETBULK. Given two sequences,
(it has "p" elements)
(it has "q" elements) Note that an OID value is a sequence of non-negative integers, and that "names of objects" (as specified in RFC 1157 and 1905) are OID values. Sequence S is lexicographically equal to sequence T if the lengths are equal (that is, p=q) and:
Sequence S is lexicographically less than sequence T if either of the following are true:
|


