On Mon, 2005-04-11 at 13:28, Farazad Farhadzadeh wrote:
> > There isn't one single "mib node" in the UCD-DEMO-MIB.
> > But most choices will result in the same set of MIB objects:
> > 
> >     mib2c ..... UCD-SNMP-DEMO::ucdDemoMIB
> >     mib2c ..... UCD-SNMP-DEMO::ucdDemoMIBObjects
> > and mib2c ..... UCD-SNMP-DEMO::ucdDemoPublic
> > 
> That's right but i want to know how can i find mib node in mib,

Read the MIB file - it's just a text file.

> for example i want to add MPLS-LSR-MIB for net-snmp

But how much of this MIB do you want to add?
Do you want to implement the whole of the MIB in one go,
or a particular group of scalars, or a single table, or what?


>  but i dont know 
> mibnode in this mib for generate *.c and *.h of this mib file.

If you want to tackle the whole thing in one go, try

   mib2c .....  MPLS-LSR-MIB::mplsMIB

If you want to tackle things one table at a time, try

   mib2c .....  MPLS-LSR-MIB::mplsInterfaceConfTable

(or whichever table you need).

Dave



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to