Re: SNMP v3 and v2

Pranesh Kulkarni <[email protected]>
Newsgroups gmane.network.net-snmp.devel,gmane.network.net-snmp.user
Message-ID <CACdN3WfP5CAp=gHF8=3GHhE4-iVWfumvk0Xpe6ZRR47=RA-Z7w@mail.gmail.com>
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 <[email protected]>
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 - [email protected]
> The purpose of computing is insight, not numbers   ---   R W Hamming
>



-- 
Thanks,
Pranesh

------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
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.