09-18-2020 08:05 AM - edited 09-18-2020 08:10 AM
Cisco IOS Software, 7200 Software (C7200-ADVENTERPRISEK9-M), Version 15.2(4)M11, RELEASE SOFTWARE (fc2)
hi I'm trying to config and run SNMPv3 for first time I but it doesn't work. now I have an router on my lab and a server with multiple snmp manager apps and server can router my router directly so I wont have any security issue during this test. my configuration for snmp V3 is:
R1#show run | in snmp
snmp-server group v3group v3 auth read iso-view write iso-view notify iso-view
snmp-server group v3group v3 priv read iso-view write iso-view notify iso-view
snmp-server view iso-view iso included
snmp-server community rw RW
snmp-server location nanjing
snmp-server contact wangchong
snmp-server enable traps entity-sensor threshold
snmp-server host 192.168.10.254 version 3 priv cisco
here is the debugging:
process_mgmt_req_int: UDP packet being de-queued
*Sep 18 23:08:50.411: SNMP: Packet received via UDP from 192.168.10.254 on GigabitEthernet0/0SrParseV3SnmpMessage: No matching Engine ID.
SrParseV3SnmpMessage: Failed.
SrDoSnmp: authentication failure, Unknown Engine ID
*Sep 18 23:08:50.423:
Incoming SNMP packet
*Sep 18 23:08:50.423: v3 packet security model: v3 security level: noauth
*Sep 18 23:08:50.423: username:
*Sep 18 23:08:50.423: snmpEngineID: 800000090300CA014EE40006
*Sep 18 23:08:50.423: snmpEngineBoots: 0 snmpEngineTime: 0
*Sep 18 23:08:50.423: SNMP: Report, reqid 11, errstat 0, erridx 0
internet.6.3.15.1.1.4.0 = 5
R1#
*Sep 18 23:08:50.427: SNMP: Packet sent via UDP to 192.168.10.254
process_mgmt_req_int: UDP packet being de-queued
*Sep 18 23:08:50.487: SNMP: Packet received via UDP from 192.168.10.254 on GigabitEthernet0/0SrParseV3SnmpMessage: Failed.
findContextInfo: Authentication failed no local context exists for the Context Provided .
SrDoSnmp: authentication failure, Unknown Context.
SNMP info:
R1#show snmp user
User name: cisco
Engine ID: 800000090300CA014EE40006
storage-type: nonvolatile active
Authentication Protocol: MD5
Privacy Protocol: DES
Group-name: v3group
User name: v3usr
Engine ID: 800000090300CA014EE40006
storage-type: nonvolatile active
Authentication Protocol: MD5
Privacy Protocol: DES
Group-name: v3grp
R1#show snmp engineID
Local SNMP engineID: 800000090300CA014EE40006
Remote Engine ID IP-addr Port
09-18-2020 08:31 AM
findContextInfo: Authentication failed no local context exists for the Context Provided .
SrDoSnmp: authentication failure, Unknown Context.
As per above messages something missing in configuration, athhentication and Context.
Please post full configuration to look, also tell us how you doing snmpwalk command other side.
or refer below sameple config :
https://thwack.solarwinds.com/t5/NPM-Discussions/SNMP-v3-need-help-with-credentials/m-p/197656
09-18-2020 05:07 PM
thanks very much.
i have update my configuration to delete the 'context name', but it doesn't work fine.please help me to check it.
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