On Sat, Jun 30, 2012 at 9:39 AM, Kingsley Charles <
[email protected]> wrote:

> First get the SNMP MIB index number using "sh snmp mib ifmib ifindex"
>
> Then issue the following, so that the index number doesn't change across
> reloads.
>
> snmp-server ifindex persist
>
> The following gives access to all interface parameters of interface 1
>
> ifEntry.*.1
>
> The following gives access to physical address of all interfaces
>
> ifEntry.6.*
>
> The following gives access to physical address of interface 1
>
> ifEntry.6.1
>
>
> With regards
> Kings
>
> On Fri, Jun 29, 2012 at 11:56 PM, Eugene Pefti <[email protected]>wrote:
>
>>  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 ear
>>
> lier 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
>>
>
>
_______________________________________________
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

Reply via email to