Re: How to convert entire MIB at once using mib2c

Simon Chamlian <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <CAJTs9V=y2Q6kA4-mR5L2oQvwYQh0nEQ28O1Fxg=jDE9_bjhQiw@mail.gmail.com>
I think what he means (or what I mean) is to have one config file that
converts the whole MIB file (which contains any possible object) into C.

Simon



On Thu, Nov 10, 2011 at 10:30 AM, Dave Shield <[email protected]>wrote:

> On 9 November 2011 18:11, Suresh kumar <[email protected]> wrote:
> > i want convert entire MIB object to c/h file using mib2c  at once
>
> What do you mean by "converting the MIB object"?
> What sort of MIB object(s) do you have in mind.
>
> If these are scalar objects, then try
>
>    mib2c -c mib2c.scalar.conf  MY-MIB::myTopLevelObject
>
> If this is a MIB table, then try
>
>    mib2c -c mib2c.table_data.conf  MY-MIB::myTable
>
> (or one of the other table-based helper frameworks)
>
>
> Naturally, you should use the appropriate values instead
> of MY-MIB::myTopLevelObject and MY-MIB::myTable
>
> Dave
>
>
> ------------------------------------------------------------------------------
> RSA(R) Conference 2012
> Save $700 by Nov 18
> Register now
> http://p.sf.net/sfu/rsa-sfdev2dev1
> _______________________________________________
> Net-snmp-users mailing list
> [email protected]
> Please see the following page to unsubscribe or change other options:
> https://lists.sourceforge.net/lists/listinfo/net-snmp-users
>

------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1

_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
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.