Tnm::mib compare oid1 oid2

The Tnm::mib compare command compares two object identifier given as oid1 and oid2 based on their lexicographic order. 

The command returns -1, 0 or 1, depending on whether the object identifier given by oid1 is less than, equal to, or greater than the object identifier given by oid2. 

The oid1 and oid2 arguments may be object identifiers or node names in one of the formats discussed above.