Re: ifIndex

2018-10-13 Thread David Hubbard
; Subject: Re: ifIndex David, All you have to do is turn on IFindex persistence: https://www.cisco.com/c/en/us/td/docs/routers/crs/software/crs_r4-2/system_management/command/reference/b_sysman_cr42crs/b_sysman_cr42crs_chapter_01101.html#wp2192797756 We do this on our XRs and it works perfectly.

Re: ifIndex

2018-10-13 Thread Mel Beckman
David, All you have to do is turn on IFindex persistence: https://www.cisco.com/c/en/us/td/docs/routers/crs/software/crs_r4-2/system_management/command/reference/b_sysman_cr42crs/b_sysman_cr42crs_chapter_01101.html#wp2192797756 We do this on our XRs and it works perfectly. -mel via cell On Oct

Re: ifIndex

2018-10-13 Thread David Hubbard
Cisco tries very hard to make such useless data occur in XR. If you have a gigE SFP in an SFP+ port, a new ifindex will appear for the resulting GigabitEthernetX port, then it remains even if both the config and SFP have been removed. Automated systems will keep querying it as if it were a dow

Re: ifIndex

2018-10-13 Thread Mel Beckman
Saku, The issue isn't that ifindexes change during operation. That would truly make SNMP useless. The issue is that they change across reboots. That's where features such as Cisco's Interface Index Persistence helps out. -mel via cell > On Oct 13, 2018, at 2:59 AM, Saku Ytti wrote: > >> On

Re: ifIndex

2018-10-13 Thread Saku Ytti
On Fri, 12 Oct 2018 at 21:40, Chris Adams wrote: > Is there any good excuse that SNMP client software can't handle a basic > design of SNMP - indexed tables? ifIndex is far from the only index in > SNMP, and many of them still change today at various times. > > It isn't that hard to fetch the in

Re: ifIndex

2018-10-12 Thread Mel Beckman
Cisco has a feature you can enable called “Interface Index Persistence”: https://www.cisco.com/c/en/us/support/docs/ip/simple-network-management-protocol-snmp/28420-ifIndex-Persistence.html This solves the problem, at least with Cisco gear. -mel beckman On Oct 12, 2018, at 1:33 PM, Naslund, St

RE: ifIndex

2018-10-12 Thread Naslund, Steve
I see this all the time. Especially in module chassis. It seems like sometimes it has to do with when each board goes to a ready state as the system boots. We also see renumbering due to virtual interface and board additions. While you are running they seem to get the next ifindex available

Re: ifIndex

2018-10-12 Thread Chris Adams
Once upon a time, Randy Bush said: > do folk have experience with platforms where ifIndexes are not stable > across reboots etc? how do you deal with it? do some of those > platforms trap on change? Is there any good excuse that SNMP client software can't handle a basic design of SNMP - indexed

Re: ifIndex

2018-10-12 Thread Scott Weeks
--- ra...@psg.com wrote: From: Randy Bush do folk have experience with platforms where ifIndexes are not stable across reboots etc? how do you deal with it? do some of those platforms trap on change? --- I'm surprised everyone doesn't have stable ifIndex

Re: ifIndex

2018-10-12 Thread Steve Meuse
Most platforms I've worked with have a method to make the indexes persistent, often by additional command-line options. -Steve On Fri, Oct 12, 2018 at 2:08 PM Randy Bush wrote: > do folk have experience with platforms where ifIndexes are not stable > across reboots etc? how do you deal with