Re: Mapping of the MODULE-IDENTITY value

Juergen Schoenwaelder <[email protected]>
Newsgroups gmane.ietf.snmpv3
Message-ID <[email protected]>
>>>>> Mark Ellison writes:

Mark> When is it necessary for the other OBJECT IDENTIFIER values
Mark> assigned within the module to be unrelated to the OBJECT
Mark> IDENTIFIER value of the MODULE-IDENTITY macro?

The prominent example is the IF-MIB. The OID structure (without the
details) looks as follows. 

--internet(1.3.6.1)
  |
  +--mgmt(2)
  |  +--mib-2(1)
  |     +--interfaces(2)
  |     |  +--ifTable(2)
  |     +--ifMIB(31)
  |        +--ifMIBObjects(1)
  |        |  +--ifXTable(1)
  |        |  +--ifStackTable(2)
  |        |  x--ifTestTable(3)
  |        |  +--ifRcvAddressTable(4)
  |        +--ifConformance(2)
  |           +--ifGroups(1)
  |           +--ifCompliances(2)
  +--snmpV2(6)
     +--snmpModules(3)
        +--snmpMIB(1)
           +--snmpMIBObjects(1)
              +--snmpTraps(5)

The OID of the MODULE-IDENTITY ifMIB is { mib-2 31 } and the reason
for this is that many definitions in the IF-MIB predate the SMIv2.
There might be other reasons for these kind of constructions.

/js

-- 
Juergen Schoenwaelder    <http://www.informatik.uni-osnabrueck.de/schoenw/>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.