Re: SNMP v3 and v2

2016-06-29 Thread Pranesh Kulkarni
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 
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
--
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-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders


Re: SNMP v3 and v2

2016-06-29 Thread Niels Baggesen
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-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders


SNMP v3 and v2

2016-06-27 Thread Pranesh Kulkarni
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
--
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-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders