cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1791
Views
0
Helpful
6
Replies

Using BaseLine templates LMS 3.1

laptev.valery
Level 1
Level 1

Good Day!

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 A.B.C.D
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:

Error Message
%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
support representative
.

Becouse i am a technical suppor:)

The question is:

What should I do, to use templates 100% succes??? Can any one give any sugestions???

2 Accepted Solutions

Accepted Solutions

Given your platform and version of code, you are most likely seeing CSCef67969 which is fixed in 12.3(17).  Do you get a traceback with this syslog message?  If so, post the full message including the traceback, and that should confirm the bug.

View solution in original post

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" (1.3.6.1.4.1.9.10.86.1.3.2.1.6) from CISCO-IETF-IP-MIB or

when ciscoDslCpeMIB is queried (1.3.6.1.4.1.9.20.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.

Workaround:

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

view.

-- change the default snmp view to exclude CISCO-DSL-CPE-MIB

conf term

snmp-server view v1default ciscoDslCpeMIB excluded

end

show snmp view

-- create a new snmp view that excludes CISCO-DSL-CPE-MIB

conf term

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

end

show snmp view

View solution in original post

6 Replies 6

laptev.valery
Level 1
Level 1

How to fix this problem with error message?

Joe Clarke
Cisco Employee
Cisco Employee

I don't see how this BADOID message has anything to do with an RME baseline template.  What version of code is running on the device generating this error?

version of IOS?

show version command on router is:

rt-router# sh ver
Cisco Internetwork Operating System Software
IOS (tm) C1700 Software (C1700-IPBASE-M), Version 12.3(6c), RELEASE SOFTWARE (fc1)
Copyright (c) 1986-2004 by cisco Systems, Inc.
Compiled Tue 20-Jul-04 07:00 by kellythw
Image text-base: 0x80008120, data-base: 0x80C74650

ROM: System Bootstrap, Version 12.2(7r)XM2, RELEASE SOFTWARE (fc1)

rt-router uptime is 2 days, 6 hours, 55 minutes
System returned to ROM by power-on
System restarted at 08:16:27 KZN Mon Dec 28 2009
System image file is "flash:c1700-ipbase-mz.123-6c.bin"

cisco 1760 (MPC860P) processor (revision 0x500) with 55642K/9894K bytes of memory.
Processor board ID FOC08332P1L (846269957), with hardware revision 0000
MPC860P processor: part number 5, mask 2
Bridging software.
X.25 software, Version 3.0.0.
1 Ethernet/IEEE 802.3 interface(s)
1 FastEthernet/IEEE 802.3 interface(s)
32K bytes of non-volatile configuration memory.
32768K bytes of processor board System flash (Read/Write)

Configuration register is 0x2102

You want to say, that this error is not related ro RME?

Given your platform and version of code, you are most likely seeing CSCef67969 which is fixed in 12.3(17).  Do you get a traceback with this syslog message?  If so, post the full message including the traceback, and that should confirm the bug.

Yes, I have trace back:

-Traceback= 80A91128 80A90FDC 80A90E14 80AB6784 8027B190 8027E7B0

So, as I understand, to not see this error, the inly way are not use LMS or change version of IOS?

Or there are somthing more to do???

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" (1.3.6.1.4.1.9.10.86.1.3.2.1.6) from CISCO-IETF-IP-MIB or

when ciscoDslCpeMIB is queried (1.3.6.1.4.1.9.20.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.

Workaround:

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

view.

-- change the default snmp view to exclude CISCO-DSL-CPE-MIB

conf term

snmp-server view v1default ciscoDslCpeMIB excluded

end

show snmp view

-- create a new snmp view that excludes CISCO-DSL-CPE-MIB

conf term

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

end

show snmp view

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: