My snmp settings on a group of routers are:
no snmp-server community -=stringone=- RW 60
no snmp-server community -=stringtwo=- RO 60
no snmp-server ifindex persist
no snmp-server system-shutdown
no snmp-server enable traps tty
no snmp-server location -=reallocation=-
I am configuring them with LMS 3.1. Using baseline templates.
My template is:
service timestamps log datetime msec localtime
logging history size "number"
logging facility local3
logging trap informational
logging rate-limit all "number" except error
Results are 80-85% sucsesful. 15-20% faild.
The faild devises after "show logging":
date: %SNMP-3-BADOID: Attempt to generate an invalid object identifier
I could find description for that error message, it is not helpfool:
%SNMP-3-BADOID: Attempt to generate an invalid object identifier
Explanation A valid object identifier must contain at least two subidentifiers. An attempt was made
to generate an object identifier whose size was less than two.
Recommended Action Copy the error message exactly as it appears, and report it to your technical
Becouse i am a technical suppor:)
The question is:
What should I do, to use templates 100% succes??? Can any one give any sugestions???
Yes, it looks like the bug I mentioned previously. The bug has nothing to do with RME. You can use RME or not, and this bug will still be triggered. While an upgrade is recommended, the Release notes detail a workaround:
The 1711 router gives traceback when we process an snmpwalk at OID
"cInetIcmpMsgOutPkts" (126.96.36.199.188.8.131.52.184.108.40.206.1.6) from CISCO-IETF-IP-MIB or
when ciscoDslCpeMIB is queried (220.127.116.11.18.104.22.168.1.1).
12.2(15) works well
12.3(8)T4 and 12.0(3)T are giving this problem.
Didn4t find a similar problem reported to this one.
The problem lies in CISCO-DSL-CPE-MIB, so if you don't need this mib you can
exclude it from the default or created snmp view, thereby preventing the
traceback. Here is an example of 1) changing default view and 2) creating a new
-- change the default snmp view to exclude CISCO-DSL-CPE-MIB
snmp-server view v1default ciscoDslCpeMIB excluded
show snmp view
-- create a new snmp view that excludes CISCO-DSL-CPE-MIB
no snmp-server view nodslmib
snmp-server view nodslmib iso included
snmp-server view nodslmib internet.6.3.15 excluded
snmp-server view nodslmib internet.6.3.16 excluded
snmp-server view nodslmib internet.6.3.18 excluded
snmp-server view nodslmib ciscoMgmt.252 excluded
snmp-server view nodslmib ciscoDslCpeMIB excluded
no snmp-server community public
snmp-server community public view nodslmib ro
show snmp view