Re: [nsp] CEF subinterface

From: George Robbins (grr@shandakor.tharsis.com)
Date: Fri Aug 25 2000 - 05:59:53 EDT


I think that someone at Cisco wanted to make CEF switching statistics
in terms off packet-counts, drops and whatnot available via SNMP access
and figured that the interface MIB was a template for doing this, plus
the ATM guys had already blazed a trail with different but related
logical counters showing up as different pseudo-sub-interfaces.

If you're using MRTG or some similar tool to pull configs and want
these to go away, there's a section of code that looks at the interface
and tries to decide if it has real byte counts worth graphing, based
on the speed and type - you just need to modify this to ignore type 162
interfaces. 8-(

somthing like:

cfgmaker:
  if (($sifadminstatus{$index} != 1)
        || ($siftype{$index} == 24)
+ || ($siftype{$index} == 162)
        || ($speed == 0 )
        || ($speed > 400 * 10**6) #speeds of 400 MByte/s are not realistic
        || ($sifoperstatus{$index} == 3)) {
    print <<ECHO;

                                                George



This archive was generated by hypermail 2b29 : Sun Aug 04 2002 - 04:12:15 EDT