Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

SNMP v3 and v2

7 views
Skip to first unread message

Pranesh Kulkarni

unread,
Jun 27, 2016, 6:28:32 AM6/27/16
to
Hi All,

I have the existence  code for SNMP v3 agent generated with mib2c . Can the same code used for V3.

Only configuration is different in V3 ? which can ne 

Please clarify me.

--
Thanks,
Pranesh

Niels Baggesen

unread,
Jun 29, 2016, 1:46:15 PM6/29/16
to
Den 27-06-2016 kl. 12:27 skrev Pranesh Kulkarni:
> Hi All,
>
> I have the existence code for SNMP v3 agent generated with mib2c . Can
> the same code used for V3.

Yes, the same agent code is used for all SNMP protocol versions. The
only difference is that SNMP v1 cannot return a Counter64 object.

/Niels

--
Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.net
The purpose of computing is insight, not numbers --- R W Hamming

------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
_______________________________________________
Net-snmp-coders mailing list
Net-snm...@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Pranesh Kulkarni

unread,
Jun 30, 2016, 1:01:28 AM6/30/16
to
thanks Niels.

I want to elaborate my question.

I generated code for SNMPV2 using mib2c and added logic to get,set and receive the traps. 

Can I use the same existing code for SNMPv3 by adding user name (net-snmp-create-v3-user). To work in SNMPv3  only config changes are sufficent or do i need ti change the existence code.




On Wed, Jun 29, 2016 at 10:59 PM, Niels Baggesen <n...@users.sourceforge.net> wrote:
Den 27-06-2016 kl. 12:27 skrev Pranesh Kulkarni:
> Hi All,
>
> I have the existence  code for SNMP v3 agent generated with mib2c . Can
> the same code used for V3.

Yes, the same agent code is used for all SNMP protocol versions. The
only difference is that SNMP v1 cannot return a Counter64 object.

/Niels

--
Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.net
The purpose of computing is insight, not numbers   ---   R W Hamming



--
Thanks,
Pranesh
0 new messages