Good day/night (:
MK:
RB433AH
version: “5.2”
Trying to get working with snmp v3
snmpwalk -u vardan -v 3 -a MD5 -A vardan33 -l authPriv -x DES -X vardan34 -M /root/temp/Mikrotik.mib 10.0.0.1
but receiving error message
snmpwalk: Timeout (error parsing PDU)
I’m doing snmpwalk from linux box - Debian Squeeze
snmpwalk --version
NET-SNMP version: 5.4.3
MK config.
/snmp community
set vardan address=0.0.0.0/0 authentication-password=vardan33 authentication-protocol=MD5 encryption-password=vardan34 \
encryption-protocol=DES name=vardan read-access=yes security=private write-access=no
Any ideas ? (:
thnx
petrn
May 29, 2011, 4:44pm
2
Hi,
i got it working by adding
-e 80003a8c04
to snmpwalk command (engine ID not set) or
-e 80003a8c04<hexdump of engineID>
e.g. if engine-id=1234 , then use -e 80003a8c0431323334
Thanks petrn, it’s working.
But still cannot understand what does 80003a8c04 mean ?
I like lines from off. nte-snmp web site (:
I should go rambling on here about the intricate details of v3 engineIDs, INFORMs, TRAPs, engineID discovery, secret keys, passwords, localized keys, etc. But it took the SNMPv3 working group 18223 lines of text (RFCs 2570 - 2575) to try and explain it all, so I don’t think I’ll reiterate that here.
petrn
May 29, 2011, 5:31pm
4
i didn’t read RFCs, here is decode from Wireshark:
engineID=“”:
and engineID=“1234”:
petrn
May 30, 2011, 4:46pm
6
davsharyan:
Thanks petrn, it’s working.
But still cannot understand what does 80003a8c04 mean ?
I like lines from off. nte-snmp web site (:
I should go rambling on here about the intricate details of v3 engineIDs, INFORMs, TRAPs, engineID discovery, secret keys, passwords, localized keys, etc. But it took the SNMPv3 working group 18223 lines of text (RFCs 2570 - 2575) to try and explain it all, so I don’t think I’ll reiterate that here.
well if you just want to know how it’s constructed: page 41 in http://www.rfc-editor.org/rfc/rfc3411.txt
look for SnmpEngineID ::= TEXTUAL-CONVENTION