[c-nsp] SNMP MIB question

Ross Vandegrift ross at kallisti.us
Tue Apr 15 19:04:58 EDT 2008


On Tue, Apr 15, 2008 at 01:46:48PM -0400, Gurung, Provin wrote:
> We have been doing snmpwalk's on 1.3.6.1.4.1.9.9.23.1.1.1.1.6
> to get the interface index.

If you just want the ifIndex, why don't you walk the IF-MIB::ifIndex
table?  If you're looking for the full name (ie, "Ethernet1/0"), you can
walk IF-MIB::ifDescr.  IF-MIB is not going to go away.

On the other hand, if you want CDP specific info, you're probably in
the right place.  Cisco uses a different subtree for experimental
OIDs, so I wouldn't worry about it being unofficial.

Ross


More information about the cisco-nsp mailing list