Le 12/11/2013 17:15, Bill Fenner a écrit :
> Here's what I use:
> 
> agentaddress udp:161,tcp:161,udp6:161,tcp6:161
> com2sec sec1 default public
> com2sec6 sec1 default public
> group _grpsec1 v1 sec1
> group _grpsec1 v2c sec1
> access _grpsec1 "" any noauth exact _all_ none none
> 
> This looks almost exactly like your sample.

Yes. The main difference I see is « _all_ » as view. Or maybe the fact
that « agentaddress » comes first.

>  It even works:
> 
> % snmpstatus udp6:hassium
> [UDP/IPv6: [fd7a:629f:52a4:fe4c::1]:161]=>[Arista Networks EOS version
> 4.13.0-1505357.cacupertinodev.1 (engineering build) running on an Arista
> Networks DCS-7504] Up: 21 days, 20:44:33.60

The fact that it works for you gives me hope that it should also work
for me. I will continue searching. Many thanks !

For the history :
> On Thu, Nov 7, 2013 at 1:58 PM, Olivier Miakinen
> <om+net-s...@miakinen.net>wrote:
> 
>> Here is the configuration which works for IPv4:
>> ---------------------------------------------------------------
>> com2sec notConfigUser  default       public
>> group   notConfigGroup v1            notConfigUser
>> group   notConfigGroup v2c           notConfigUser
>> group   notConfigGroup usm           notConfigUser
>> view    systemview    included   .1
>> access  notConfigGroup "" any noauth exact systemview none none
>> agentaddress udp:28025,udp6:28025
>> ---------------------------------------------------------------
>>
>> I tried to add many sorts of com2sec6, but none of them works:
>> ---------------------------------------------------------------
>> com2sec6 notConfigUser  default      public
>> com2sec6 notConfigUser  ::           public
>> com2sec6 notConfigUser  ::/0         public
>> com2sec6 notConfigUser  ::/128       public
>> com2sec6 notConfigUser  ::1          public
>> ---------------------------------------------------------------
>>
>> And here are the traces in snmpd:
>> ---------------------------------------------------------------
>> # snmpd -c /etc/snmp/snmpmiakd.conf -f -Lo -a
>> MIB search path: /root/.snmp/mibs:/usr/local/share/snmp/mibs
>> NET-SNMP version 5.7.2
>> Received SNMP packet(s) from UDP: [127.0.0.1]:43448->[127.0.0.1]:28025
>> Received SNMP packet(s) from UDP/IPv6: [::1]:43448
>> ---------------------------------------------------------------

Best regards,
-- 
Olivier Miakinen


------------------------------------------------------------------------------
DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk
_______________________________________________
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

Reply via email to