Community discussions

MikroTik App
 
Andres
just joined
Topic Author
Posts: 5
Joined: Fri Nov 21, 2008 2:42 pm

using snmp v3 v3.20

Wed Dec 09, 2009 6:25 pm

Hi i am trying to implement the snmp v3 with my routerboard.

I am first trying to do single request to learn how to use snmp in rbs. To generate request i am using debian snmp-tools

first i configure with version 1 and all works ok:

name="public" address=0.0.0.0/0 security=none read-access=yes
write-access=no authentication-password="" encryption-password=""
authentication-protocol=MD5 encryption-protocol=DES

and then in debian

snmpwalk -c seguridad -v 1 10.0.0.188

and dysplays all the mib list with oid. Excellent. Also i try snmpget and changing write_acces=yes snmpset.


The problem starts when i switch to version 3 snmp

name="seguridad" address=0.0.0.0/0 security=private read-access=yes
write-access=no authentication-password="holahola"
encryption-password="encriptacion" authentication-protocol=SHA
encryption-protocol=DES

snmpwalk -u seguridad -v 3 -a SHA -A holahola -l authPriv -x DES -X encriptacion 10.0.0.188

it respond : End of MIB

when i do snmpget for example an oid that i could retrieve with version 1 this is the response:

andres@andres-desktop:~$ snmpget -u seguridad -v 3 -a SHA -A holahola -l authPriv -x DES -X encriptacion 10.0.0.188 RFC1213-MIB::ipRouteIfIndex.10.0.0.0
Error in packet
Reason: (noSuchName) There is no such variable name in this MIB.
Failed object: RFC1213-MIB::ipRouteIfIndex.10.0.0.0

its like there is no oid define in the rb using version 3 of snmp. There is something that i have to load in the routeboad? Or i have a bad parameter in my snmpget

When i change for examlpe seguridad to one that is wrong or the authentication password gives me result tha time out. So i thunk that the parameter are correct. I have to define MIB for version 3 in the routerboard??? It is empty???

Thank a lot for help i really need

Andres
 
Andres
just joined
Topic Author
Posts: 5
Joined: Fri Nov 21, 2008 2:42 pm

Re: using snmp v3 v3.20

Thu Dec 10, 2009 12:57 pm

Also tried with dude and cant get andy snmp request.

When i use snmpwalk from tools o dude also get the message End of MIB

thanks for help

Andres
 
Andres
just joined
Topic Author
Posts: 5
Joined: Fri Nov 21, 2008 2:42 pm

Re: using snmp v3 v3.20

Mon Dec 14, 2009 1:02 pm

Someone use snmp version 3 ?


thanks !
 
Andres
just joined
Topic Author
Posts: 5
Joined: Fri Nov 21, 2008 2:42 pm

Re: using snmp v3 v3.20

Tue Dec 22, 2009 5:46 pm

What's new in 4.4:
*) snmp - fixed snmp version three;

It work's !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

thanks for everyone. POST CLOSED

bye
 
Andres
just joined
Topic Author
Posts: 5
Joined: Fri Nov 21, 2008 2:42 pm

Re: using snmp v3 v3.20

Tue Dec 22, 2009 5:51 pm

configure in mikrotik snmp ; community

0 name="seguridad" address=0.0.0.0/0 security=private read-access=yes write-access=no authentication-password="holahola"
encryption-password="encriptacion" authentication-protocol=MD5 encryption-protocol=DES


net-snmp :

snmpwalk -u seguridad -v 3 -a MD5 -A holahola -l authPriv -x DES -X encriptacion -M /home/andres/Desktop/snmp-mikrotik/MIBmikrotik.txt 10.0.0.188

a lot of data................................

iso.3.6.1.2.1.1.1.0 = STRING: "router"
iso.3.6.1.2.1.1.2.0 = OID: iso.3.6.1.4.1.14988.1
iso.3.6.1.2.1.1.3.0 = Timeticks: (120800) 0:20:08.00
... ...
... ...
...
...
 
khizer911
newbie
Posts: 25
Joined: Sun Aug 21, 2011 3:44 pm

Re: using snmp v3 v3.20

Tue Jun 16, 2015 3:24 pm

what is the difference between SECUIRITY=PRIVATE VS SECURITY=AUTHORIZED ?
 
User avatar
tomaskir
Trainer
Trainer
Posts: 1162
Joined: Sat Sep 24, 2011 2:32 pm
Location: Slovakia

Re: using snmp v3 v3.20

Tue Jun 16, 2015 4:11 pm

what is the difference between SECUIRITY=PRIVATE VS SECURITY=AUTHORIZED ?
Do NOT bump a 4 years old topic.

Regarding your quesion, watch this presentation and you can learn all about SNMP an SNMP in MikroTik:
https://www.youtube.com/watch?v=McUCYuy9Cv0

Who is online

Users browsing this forum: GoogleOther [Bot] and 194 guests