Bookmark this page:
Yahoo!
Windows Live
del.icio.us
digg
Netscape
|
|
|||||||||||||||||||
|
Posted by on May 6, 2008, 2:10 pm
Please log in for more thread options I have inherited a management system that is barfing on some cisco 72xx and 76xx routers when it finds an ifIndex = 0, rather than ifIndex =1 or 10. I gather that ifIndex =0 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 = 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? TIA Tony | |||||||||||||||||||
|
Posted by on May 7, 2008, 9:32 am
Please log in for more thread options 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 =2Eiso.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. | |||||||||||||||||||
|
Posted by on May 11, 2008, 1:10 pm
Please log in for more 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 | |||||||||||||||||||
|
Posted by Merv on May 11, 2008, 5:47 pm
Please log in for more thread options
Newer versions of IOS allow one to display the SNMP ifindex values HUB#show snmp mib ifmib ifIndex Ethernet0/0: Ifindex = 1 Loopback0: Ifindex = 5 Null0: Ifindex = 4 VoIP-Null0: Ifindex = 3 FastEthernet1/0: Ifindex = 2 Loopback999: Ifindex = 6 You can check the Ifindex values displayed against the Ifindex values being received by NMS system | |||||||||||||||||||
|
Posted by on May 12, 2008, 7:15 am
Please log in for more thread options > Newer versions of IOS allow one to display the SNMP ifindex values
Thanks Merv,
> > HUB#show snmp mib ifmib ifIndex > > Ethernet0/0: Ifindex = 1 > Loopback0: Ifindex = 5 > Null0: Ifindex = 4 > VoIP-Null0: Ifindex = 3 > FastEthernet1/0: Ifindex = 2 > Loopback999: Ifindex = 6 > > You can check the Ifindex values displayed against the Ifindex values > being received by NMS system Probably it was not clear in my posting but it is the ipAdEntIfIndex which are wrong ie there are ipAdEntIfIndex=0 returned by an snmpwalk. The ifIndexes are fine - they start from 1.. Kevin | |||||||||||||||||||
| Similar Threads | Posted |
| ifIndex 0 - problem | May 6, 2008, 2:10 pm |
| PIX Problem | February 11, 2005, 2:45 am |
| PIX problem .. | July 12, 2005, 10:27 am |
| NAT-PT and TCP problem | July 20, 2005, 12:25 pm |
| problem with FTP | July 21, 2005, 8:11 pm |
| PIX 501 Problem | July 23, 2005, 9:18 pm |
| FXO Problem? | July 23, 2005, 9:15 pm |
| pix problem | July 27, 2005, 8:13 pm |
| PIX 501 - problem | August 4, 2005, 5:58 pm |
| pix to pix problem :) | August 23, 2005, 4:53 pm |
| pix 5.3(2) dns problem | September 2, 2005, 6:44 am |
| VTP Problem | September 12, 2005, 10:51 am |
| PIX 520 VPN problem | September 21, 2005, 1:50 pm |
| NAT Problem | October 5, 2005, 6:25 am |
| E1 problem | December 9, 2005, 7:16 am |

ifIndex 0 - problem
Yahoo!
Windows Live
del.icio.us
digg
Netscape 






>
> 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?