Guys, I'm trying to arrange and classify my knowledge on SNMP details and one of the challenges is again MIB OIDs. It's mostly about the OID to be included/excluded in the SNMP view. It has been said here earlier that ifEntry is one of the most important and we have to know how to define it. Now, when the task explicitly says to use ISO subtree or something else it is straightforward. But if it is about collecting information from a specific interface I start scratching my head trying to remember the right syntax and build good mnemonics rules.
I'm asking the router to show me all MIB OID starting with "if" and I don't see "ifEntry" in the output. Moreover, I don't even see ifTable if taking this OID browser as a reference: http://tools.cisco.com/Support/SNMP/do/BrowseOID.do?objectInput=ifEntry&translate=Translate&submitValue=SUBMIT&submitClicked=true R4(config)#do sh snmp mib | inc if ifNumber ifIndex ifDescr ifType ifMtu ifSpeed ifPhysAddress ifAdminStatus ifOperStatus ifLastChange ifInOctets ifInUcastPkts ifInNUcastPkts ifInDiscards ifInErrors ifInUnknownProtos ifOutOctets ifOutUcastPkts ifOutNUcastPkts ifOutDiscards ifOutErrors ifOutQLen ifSpecific It's counter-intuitive, ifNumber and ifIndex are known to the router based on the output but it still excepts ifEntry as an OID. Secondly, what's the rule to define the specific interface, e.g. ifEntry.*.4 if 4 is the interface index? Why inserting * if ifIndex is right below ifEntry (see the above mentioned OID browser page) ? Eugene
_______________________________________________ For more information regarding industry leading CCIE Lab training, please visit www.ipexpert.com Are you a CCNP or CCIE and looking for a job? Check out www.PlatinumPlacement.com
