On 2 July 2010 14:51, Joan Landry <joan.lan...@overturenetworks.com> wrote: > You have to use mib2c for each table and scalor: > Example: > mib2c -c mib2c.scalar.conf SNMP-USER-BASED-SM-MIB:usmUserSpinLock > mib2c -c mib2c.table_data.conf SNMP-USER-BASED-SM-MIB:usmUserTable
Minor correction: You should be able to run "mib2c -c mib2c.scalar.conf" once, giving it the root of the MIB in question, and it will generate code for *all* scalar objects within that MIB. But for tables, it is normal to run mib2c on each table individually. Dave ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ 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