Re: Multiple snmpv2c community strings

2020-02-18 Thread Wes Hardaker via Net-snmp-coders
Nagarjun G writes: > netsnmp_config( "rocommunity public" ); > netsnmp_config( "rocommunity private" ); Those types of things will work, but for multiple community strings you really need to use the full VACM support to do it right. See this page to get started: http://www.net-snmp.org/wiki/in

Multiple snmpv2c community strings

2020-02-05 Thread Nagarjun G
Hi All, We have been using net-snmp agent in our embedded device. But we dont use snmpd.conf file. Right now when we configure snmp agent with v2c, we use the below API to set the community string. netsnmp_ds_set_string(NETSNMP_DS_LIBRARY_ID, NETSNMP_DS_LIB_COMMUNITY, "public"); Now we need to