[j-nsp] Junipers and Cricket?

Bill Nickless nickless at mcs.anl.gov
Thu Feb 6 12:47:40 EST 2003


At 05:15 PM 2/6/2003 +0000, John Senior wrote:
>Hi there,
>
>Is anyone pulling stats off of a Juniper box using cricket?  Do you
>have a config you would care to share?

In Defaults, I added these:

OID     ifHCInOctets            1.3.6.1.2.1.31.1.1.1.6
OID     ifHCInUcastPkts         1.3.6.1.2.1.31.1.1.1.7
OID     ifHCOutOctets           1.3.6.1.2.1.31.1.1.1.10
OID     ifHCOutUcastPkts        1.3.6.1.2.1.31.1.1.1.11

targetType  hc-standard-interface
         ds      =       "ifHCInOctets, ifHCOutOctets, ifInErrors,
                                 ifOutErrors, ifInUcastPackets, 
ifOutUcastPackets,
                                 ifInNUcastPackets, ifOutNUcastPackets,
                                 ifOutDiscards, ifOutQLen"
         view    =       "Octets: ifHCInOctets ifHCOutOctets,
                                         UcastPackets: ifInUcastPackets 
ifOutUcastPackets,
                                         NUcastPackets: ifInNUcastPackets 
ifOutNUcastPackets,
                                         Errors: ifInErrors ifOutErrors,
                                         Output-Q-Info: ifOutDiscards 
ifOutQLen"

targetType  hc-sub-interface
         ds      =       "ifHCInOctets, ifHCOutOctets"
         view    =       "Octets: ifHCInOctets ifHCOutOctets"

And then a typical config looks like:

target --default--
         router = m10.startap.net
         snmp-version = 2

target if-ge-0_0_0
         interface-name  =       ge-0/0/0
         short-desc      =       "StarLight Catalyst 6509 [ge-0/0/0]"
         target-type     =       hc-standard-interface

target as00024_nren
         interface-name  =       ge-0/0/0.24
         short-desc      =       "NREN (AS 24) [ge-0/0/0.24]"
         target-type     =       hc-sub-interface

target as00293_esnet
         interface-name  =       ge-0/0/0.293
         short-desc      =       "ESNet (AS 293) [ge-0/0/0.293]"
         target-type     =       hc-sub-interface

target as00297_nisn
         interface-name  =       at-0/1/0.297
         short-desc      =       "NISN (AS 297) [at-0/1/0.297]"
         target-type     =       hc-sub-interface

target as00513_cern
         interface-name  =       ge-0/0/0.513
         short-desc      =       "CERN (AS 513) [ge-0/0/0.513]"
         target-type     =       hc-sub-interface

target as22335_mren
         interface-name  =       ge-0/0/0.0
         short-desc      =       "MREN (AS 22335) [ge-0/0/0.0]"
         target-type     =       hc-sub-interface

target as01103_surfnet
         interface-name  =       ge-0/0/0.1103
         short-desc      =       "SURFNet (AS 1103) [ge-0/0/0.1103]"
         target-type     =       hc-sub-interface

target as02008_ampath
         interface-name  =       ge-0/0/0.2008
         short-desc      =       "AMPATH (AS 2008) via Global Crossing 
[ge-0/0/0.2008]"
         target-type     =       hc-sub-interface

target as05568_naukanet
         interface-name  =       ge-0/0/0.5568
         short-desc      =       "NaukaNet (AS 5568) [ge-0/0/0.5568]"
         target-type     =       hc-sub-interface

target as06509_canet4_winnipeg
         interface-name  =       ge-0/0/0.6509
         short-desc      =       "CA*Net4 Winnipeg (AS 6509) [ge-0/0/0.6509]"
         target-type     =       hc-sub-interface

target as06509_canet4_toronto
         interface-name  =       ge-0/0/0.6510
         short-desc      =       "CA*Net4 Toronto (AS 6509) [ge-0/0/0.6510]"
         target-type     =       hc-sub-interface

target as11537_abilene
         interface-name  =       ge-0/0/0.11537
         short-desc      =       "Abilene (AS 11537) [ge-0/0/0.11537]"
         target-type     =       hc-sub-interface

target if-at-0_1_0
         interface-name  =       at-0/1/0
         short-desc      =       "StarLight-OC12 [at-0/1/0]"
         target-type     =       hc-standard-interface

target as02603_nordunet
         interface-name  =       at-0/1/0.2603
         short-desc      =       "NORDUNet (AS 2603) [at-0/1/0.2603]"
         target-type     =       hc-sub-interface

target as07660_apan
         interface-name  =       at-0/1/0.7660
         short-desc      =       "APAN/TransPac (AS 7660) [at-0/1/0.7660]"
         target-type     =       hc-sub-interface

target local_atm_startap
         interface-name  =       at-0/1/0.10764
         short-desc      =       "StarTAP Cisco 7505 at 225 W Randolph 
[at-0/1/0.10764]"
         target-type     =       hc-sub-interface



===
Bill Nickless    http://www.mcs.anl.gov/people/nickless      +1 630 252 7390
PGP:0E 0F 16 80 C5 B1 69 52 E1 44 1A A5 0E 1B 74 F7     nickless at mcs.anl.gov



More information about the juniper-nsp mailing list