Re: Mapping of the MODULE-IDENTITY value
Harrie Hazewinkel <[email protected]>
| Newsgroups | gmane.ietf.snmpv3 |
|---|---|
| Message-ID | <[email protected]> |
HI Mark, On Friday, November 29, 2002, at 02:39 PM, Mark Ellison wrote: > Hi- > > I've a question about section 5.6 of RFC 2578, in particular, the second > paragraph which states: > > "Note that it is a common practice to use the value of the MODULE- > IDENTITY macro as a subtree under which other OBJECT IDENTIFIER > values assigned within the module are defined. However, it is legal > (and occasionally necessary) for the other OBJECT IDENTIFIER values > assigned within the module to be unrelated to the OBJECT IDENTIFIER > value of the MODULE-IDENTITY macro." > > My question concerns the second sentence: > > When is it necessary for the other OBJECT IDENTIFIER values assigned > within the module to be unrelated to the OBJECT IDENTIFIER value of the > MODULE-IDENTITY macro? This is for instance needed when a MIB module that did not have a MODULE-IDENTITY is 'upgraded/translated' to in SMIv2. Then the top node of the MIB module is most likely an OBJECT-IDENTIFIER and not a MODULE-IDENTITY. > If possible, please provide examples. The SNMPv2-MIB. That MIB module was already under mib-2 and did not have a MODULE-IDENTITY. After 'upgrading' it to SMIv2 the MODULE-IDENTITY was added, but the MODULE-IDENTITY could not become the top node of the snmp subtree. Hope this helps, Harrie Internet Management Consulting mailto: [email protected] http://www.lisanza.net/ ------------------------------------------------------------------ Author of MOD-SNMP, enabling SNMP management of Apache HTTP server