08-20-2013 02:41 AM
Hi
I'm currently testing a feature with the network monitoring tool OpUtils which enables you to auto-discover a devices IP subnets using snmp. I can't get this to work using snmpv3, but it works fine using snmpv2.
My guess is the default 'snmp read view' (as it's not specified) doesn't include the MIBs/OIDs Oputils needs to poll using snmpv3? If this is the case I haven't been able to find what exactly what view & OID I need to specify to allow this? e.g. snmp-server view oputils <OID> included
Can anyone help throw some light on this?
# Lab test config
access-list 21 remark ** SNMP ACCESS RESTRICTIONS **
access-list 21 permit 192.168.0.1
!
snmp-server context oputils
!
snmp-server group oputils v3 priv context oputils access 21
!
snmp-server user oputils oputils v3 auth sha 4uth_pass priv des56 3ncrypt_pass
!
# Debug
Aug 20 10:20:11: SNMP: Packet received via UDP from 192.168.0.1 on Vlan10
Aug 20 10:20:11:
Incoming SNMP packet
Aug 20 10:20:11: v3 packet security model: v3 security level: noauth
Aug 20 10:20:11: username: initial
Aug 20 10:20:11: snmpEngineID: 800000090300001192710581
Aug 20 10:20:11: snmpEngineBoots: 0 snmpEngineTime: 0
Aug 20 10:20:11: SNMP: Report, reqid 1, errstat 0, erridx 0
internet.6.3.15.1.1.4.0 = 9
Aug 20 10:20:11: SNMP: Packet sent via UDP to 192.168.0.1
Aug 20 10:20:11: SNMP: Packet received via UDP from 192.168.0.1 on Vlan10
Aug 20 10:20:11:
Incoming SNMP packet
Aug 20 10:20:11: v3 packet security model: v3 security level: auth
Aug 20 10:20:11: username: oputils
Aug 20 10:20:11: snmpEngineID: 800000090300001192710581
Aug 20 10:20:11: snmpEngineBoots: 0 snmpEngineTime: 0
Aug 20 10:20:11: SNMP: Report, reqid 3, errstat 0, erridx 0
internet.6.3.15.1.1.2.0 = 10
Aug 20 10:20:11: SNMP: Packet sent via UDP to 192.168.0.1
Aug 20 10:20:11: SNMP: Packet received via UDP from 192.168.0.1 on Vlan10
Aug 20 10:20:11: SNMP: Get request, reqid 5, errstat 0, erridx 0
snmp.31.0 = NULL TYPE/VALUE
Aug 20 10:20:11:
Incoming SNMP packet
Aug 20 10:20:11: v3 packet security model: v3 security level: priv
Aug 20 10:20:11: username: oputils
Aug 20 10:20:11: snmpEngineID: 800000090300001192710581
Aug 20 10:20:11: snmpEngineBoots: 2 snmpEngineTime: 1812568
Aug 20 10:20:11: SNMP: Response, reqid 5, errstat 0, erridx 0
snmp.31.0 = NO_SUCH_OBJECT_EXCEPTION
Aug 20 10:20:11: SNMP: Packet sent via UDP to 192.168.0.1
Aug 20 10:20:11: SNMP: Packet received via UDP from 192.168.0.1 on Vlan10
Aug 20 10:20:11: SNMP: Get-next request, reqid 7, errstat 0, erridx 0
Aug 20 10:20:11: TAP-MIB OID - cannot display
Aug 20 10:20:11:
Incoming SNMP packet
Aug 20 10:20:11: v3 packet security model: v3 security level: priv
Aug 20 10:20:11: username: oputils
Aug 20 10:20:11: snmpEngineID: 800000090300001192710581
Aug 20 10:20:11: snmpEngineBoots: 2 snmpEngineTime: 1812568
Aug 20 10:20:11: SNMP: Response, reqid 7, errstat 0, erridx 0
dot1dBase.1.0 = 00 11 92 71 05 80
Aug 20 10:20:11: SNMP: Packet sent via UDP to 192.168.0.1
Aug 20 10:20:11: SNMP: Packet received via UDP from 192.168.0.1 on Vlan10
Aug 20 10:20:11: SNMP: Get request, reqid 9, errstat 0, erridx 0
snmp.31.0 = NULL TYPE/VALUE
Aug 20 10:20:11:
Incoming SNMP packet
Aug 20 10:20:11: v3 packet security model: v3 security level: priv
Aug 20 10:20:11: username: oputils
Aug 20 10:20:11: snmpEngineID: 800000090300001192710581
Aug 20 10:20:11: snmpEngineBoots: 2 snmpEngineTime: 1812568
Aug 20 10:20:11: SNMP: Response, reqid 9, errstat 0, erridx 0
snmp.31.0 = NO_SUCH_OBJECT_EXCEPTION
Aug 20 10:20:11: SNMP: Packet sent via UDP to 192.168.0.1
Aug 20 10:20:11: SNMP: Packet received via UDP from 192.168.0.1 on Vlan10
Aug 20 10:20:11: SNMP: Get request, reqid 11, errstat 0, erridx 0
system.2.0 = NULL TYPE/VALUE
Aug 20 10:20:11:
Incoming SNMP packet
Aug 20 10:20:11: v3 packet security model: v3 security level: priv
Aug 20 10:20:11: username: oputils
Aug 20 10:20:11: snmpEngineID: 800000090300001192710581
Aug 20 10:20:11: snmpEngineBoots: 2 snmpEngineTime: 1812568
Aug 20 10:20:11: SNMP: Response, reqid 11, errstat 0, erridx 0
system.2.0 = NO_SUCH_OBJECT_EXCEPTION
Aug 20 10:20:11: SNMP: Packet sent via UDP to 192.168.0.1
Aug 20 10:20:11: SNMP: Packet received via UDP from 192.168.0.1 on Vlan10
Aug 20 10:20:11: SNMP: Get request, reqid 13, errstat 0, erridx 0
snmp.31.0 = NULL TYPE/VALUE
Aug 20 10:20:11:
Incoming SNMP packet
Aug 20 10:20:11: v3 packet security model: v3 security level: priv
Aug 20 10:20:11: username: oputils
Aug 20 10:20:11: snmpEngineID: 800000090300001192710581
Aug 20 10:20:11: snmpEngineBoots: 2 snmpEngineTime: 1812568
Aug 20 10:20:11: SNMP: Response, reqid 13, errstat 0, erridx 0
snmp.31.0 = NO_SUCH_OBJECT_EXCEPTION
Aug 20 10:20:11: SNMP: Packet sent via UDP to 192.168.0.1
Aug 20 10:20:11: SNMP: Packet received via UDP from 192.168.0.1 on Vlan10
Aug 20 10:20:11: SNMP: Get-next request, reqid 15, errstat 0, erridx 0
dot1dBridge = NULL TYPE/VALUE
Aug 20 10:20:11:
Incoming SNMP packet
Aug 20 10:20:11: v3 packet security model: v3 security level: priv
Aug 20 10:20:11: username: oputils
Aug 20 10:20:11: snmpEngineID: 800000090300001192710581
Aug 20 10:20:11: snmpEngineBoots: 2 snmpEngineTime: 1812568
Aug 20 10:20:11: SNMP: Response, reqid 15, errstat 0, erridx 0
dot1dBase.1.0 = 00 11 92 71 05 80
Aug 20 10:20:11: SNMP: Packet sent via UDP to 192.168.0.1
12-09-2016 10:22 AM
I have this issue currently on version 8. Did you find a solution?
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide