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