Re: How to convert entire MIB at once using mib2c

Dave Shield <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <CAKoMtGZ8mc9Kv9AvJ6Az4u-kOubjbotwkrwmTotyuHjSgS4FTQ@mail.gmail.com>
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
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.