[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Question about MIBs



On 19 Oct 2000, Frank Strauss wrote:

> Igor> I have a question about mib writing.
> Igor> Is it correct to use OBJECT-TYPE macro to define a branch?
> Igor> The problem is that I'd like to add descriptions to some of the branches
> Igor> in my MIB but I do not know how to add DESCRIPTION clause to it if it is 
> Igor> not OBJECT-TYPE. I could use MODULE-IDENTITY macro but I'm not sure if
> Igor> it's only applicable to the topmost branch in my MIB.
> 
> Although, in most MIB modules a simple OBJECT IDENTIFIER assignment is
> used for this purpose (which does not have the capability to apply
> status, description, and reference information), you may consider to
> use the OBJECT-IDENTITY construct. See Section 6 of RFC 2578 for
> details. It says that
> 

Frank, thanks a lot!!! OBJECT-IDENTITY gives exactly the solution we needed!
E.g. it allowes DESCRIPTION and REFERENCE clauses and can be used for branches.

Regards,
Igor
-- 
Igor Shpigelman           There is no dervish, or, if there is a dervish
Yet Another UNIX Hacker   that dervish is not there...   Jelaluddin Rumi