06-25-2021 06:39 AM
Hi all,
I'm just trying to t-shoot an on-going SNMPv3 issue with a customer, we seemingly can't seem to monitor their hardware from our monitoring system but from what I can see in the config and debugs, all should be working as expected?
I have created the snmp-server group
I have created the snmpv3 user (mapped to the group) with the Auth SHA <password> and Priv AES128 <password>
I have ran the following debugs:
debug snmp packet
debug snmp detail
and I get the following logs (I only managed to grab a snippet so they may be insufficient)
switch>#
*Jun 22 15:41:53.896 BST: v3 packet security model: v3 security level: priv
*Jun 22 15:41:53.896 BST: username: XYZ
*Jun 22 15:41:53.896 BST: snmpEngineID: 800000090300706E6D811C00
*Jun 22 15:41:53.896 BST: snmpEngineBoots: 13 snmpEngineTime: 2684373
*Jun 22 15:41:53.897 BST: SNMP: Response, reqid 1117930302, errstat 16, erridx 0
ciscoMgmt.156.1.1.2.1.2 = NULL TYPE/VALUESrParseV3SnmpMessage: Failed.
*Jun 22 15:41:53.900 BST: SNMP: Packet sent via UDP to <Monitoring server>
*Jun 22 15:41:53.901 BST: SNMP: Packet sent via UDP to <Monitoring server>
*Jun 22 15:41:54.414 BST: SNMP: Get-bulk request, reqid 1117930303, nonrptr 0, maxreps 10
mib-2.25.4.2.1.2 = NULL TYPE/VALUESrDoSnmp: received get-bulk pdu
make_error_pdu: Authorization Error.
*Jun 22 15:41:54.416 BST:
Incoming SNMP packet
*Jun 22 15:41:54.416 BST: v3 packet security model: v3 security level: priv
*Jun 22 15:41:54.416 BST: username: XYZ
*Jun 22 15:41:54.417 BST: snmpEngineID: 800000090300706E6D811C00
*Jun 22 15:41:54.417 BST: snmpEngineBoots: 13 snmpEngineTime: 2684373
*Jun 22 15:41:54.417 BST: SNMP: Response, reqid 1117930303, errstat 16, erridx 0
mib-2.25.4.2.1.2 = NULL TYPE/VALUE
*Jun 22 15:41:54.420 BST: SNMP: Packet sent via UDP to <Monitoring Server>
*Jun 22 15:41:54.437 BST: SNMP: Packet received via UDP from <Monitoring Server> on Vlan100
The username and snmpEngineID are correct so I'm not sure what the Authorization Error means?
Any help would be appreciated.
Thanks,
Josh
06-25-2021 10:36 PM
- Check this thread :
https://community.cisco.com/t5/network-management/snmpv3-not-working/td-p/2934301
M.
06-28-2021 01:12 AM
Hello,
I had previously checked that article you had linked but in that discussion the issue is that the EngineID is not configured, resulting in SNMP failure. In my instance, the EngineID is fine but there is something else not authenticating properly.
Any ideas as to why that could be?
Thanks,
Josh
06-28-2021 01:38 AM
- snmp v3 implementations have sometimes been buggy on cisco devices. Have a look at the current installed software version for your particular device - use an advisory release if applicable. Check if that can help.
M.
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