rahulmisra 0 Newbie Poster

Hi, I am new to SNMP and am trying to define MIB for a product. I am struggling while defining two tables that are interrelated.

While expanding a base table with an exapnsion table is it necessary that the INDEX of the expansion table are in the order baseTableIndexes-->expansionTableIndexes as below :

-- row definition in base table
baseEntry OBJECT-TYPE
... -- other clauses here
INDEX { baseIndex1, baseIndex2 }
::= { baseTable 1 }

-- row definition in expansion table
expEntry OBJECT-TYPE
... -- other clauses here
INDEX { baseIndex1, baseIndex2, expIndex1}
::= { expTable 1 }

Can define the expansion table INDEX in the order
expansionTableIndexes-->baseTableIndexes as shown below :

-- row definition in base table
baseEntry OBJECT-TYPE
... -- other clauses here
INDEX { baseIndex1, baseIndex2 }
::= { baseTable 1 }
-- row definition in expansion table
expEntry OBJECT-TYPE
... -- other clauses here
INDEX { expIndex1, baseIndex1, baseIndex2 }
::= { expTable 1 }


Any ideas, what the standard says about this ?

Rahul