|
Posted by on May 11, 2008, 1:10 pm
If you were Registered and logged in, you could reply and use other advanced thread options On 7 May, 14:32, Bo...@hotmail.co.uk wrote:
> On 6 May, 20:10, kbloomfi...@yahoo.com wrote:
>
> > Hello,
>
> > I have =A0inherited a management system that is barfing on some cisco
> > 72xx and 76xx routers when it finds an ifIndex =3D 0, rather than
> > ifIndex =3D1 or 10.
> > I gather that ifIndex =3D0 is not allowed, but I am not sure by who or
> > what - so I dont know if it is reasonable for the NMS to ignore
> > ifIndex =3D 0 or not.
> > Nor do I know how the indexes got set to 0 in the ist place, nor hwta
> > the fix might be (to make all indexes 1 or more.
> > Can someone hep me out?
>
> As I understand it IF indices are set at boot time
> automatically and in principle can be re-calculated
> at any time thereafter. e.g. if a card is inserted.
>
> More recent IOS is much better behaved
> regarding IF indices and does a better job of
> maintaining consistent mapping between
> indices and interfaces.
>
> It would be surprising if cisco had done anything that
> deviated from the standard. Very surprising.
>
> I don't think that it is possible to manually choose
> IF indices.
>
> You can check the IF indices for a device yourself
> by using getif.exe and browsing to
> .iso.org.dod.internet.mgmt.mib-2.interfaces.ifTable.ifEntry.ifIndex
>
> www.wtcs.org/snmp4tpc/getif.htm
> Its old code and has limitations but the basics work well.
> Its the only free mib browser that I know of.
Thanks for your reply. After some digging with a mib-browser along the
lines you suggest I confirm you are right about the ifIndex being
correct.
The problem it seems is ipAdEntIfIndex. On each of .routers that
generates a problem message, when interogated by the management
system, there is a ipAdEntIfIndex =3D0.
<sigh> I had a look at the IP-MIB and IF-MIB and I think that there
should not be an ipAdEntIfIndex =3D0. unless there is an ifIndex =3D0
(which there is not and that wouldbe wrong anyway).
But I am not sure.
Can anyone clarify this,plz?
TIA
Kevin
|