[mrtg] Re: Getting real throughput on ATM PVC´s

"Lotierzo, Leandro (Administración del Centro de Cómputos)" LLotierzo at lanacion.com.ar
Fri Feb 7 15:05:35 MET 2003


Try this...
Add the last 2 lines to your MRTG file.

%snmpget::OIDS = 
  ('sysDescr' => '1.3.6.1.2.1.1.1.0',
   'sysContact' => '1.3.6.1.2.1.1.4.0',
   'sysName' => '1.3.6.1.2.1.1.5.0',
   'sysLocation' => '1.3.6.1.2.1.1.6.0',
   'sysUptime' => '1.3.6.1.2.1.1.3.0',
   'ifNumber' =>  '1.3.6.1.2.1.2.1.0',
   ###################################
   # add the ifNumber ....
   'ifDescr' => '1.3.6.1.2.1.2.2.1.2',
   'ifType' => '1.3.6.1.2.1.2.2.1.3',
   'ifIndex' => '1.3.6.1.2.1.2.2.1.1',
   'ifInErrors' => '1.3.6.1.2.1.2.2.1.14',
   'ifOutErrors' => '1.3.6.1.2.1.2.2.1.20',
   'ifInOctets' => '1.3.6.1.2.1.2.2.1.10',
   'ifOutOctets' => '1.3.6.1.2.1.2.2.1.16',
   'ifInDiscards' => '1.3.6.1.2.1.2.2.1.13',
   'ifOutDiscards' => '1.3.6.1.2.1.2.2.1.19',
   'ifInUcastPkts' => '1.3.6.1.2.1.2.2.1.11',
   'ifOutUcastPkts' => '1.3.6.1.2.1.2.2.1.17',
   'ifInNUcastPkts' => '1.3.6.1.2.1.2.2.1.12',
   'ifOutNUcastPkts' => '1.3.6.1.2.1.2.2.1.18',
   'ifInUnknownProtos' => '1.3.6.1.2.1.2.2.1.15',
   'ifOutQLen' => '1.3.6.1.2.1.2.2.1.21',
   'ifSpeed' => '1.3.6.1.2.1.2.2.1.5', 
   # up 1, down 2, testing 3
   'ifOperStatus' => '1.3.6.1.2.1.2.2.1.8',             
   'ifAdminStatus' => '1.3.6.1.2.1.2.2.1.7',  
   # up = 1 else 0;
   'ifOperHack' => '1.3.6.1.2.1.2.2.1.8',             
   'ifAdminHack' => '1.3.6.1.2.1.2.2.1.7',  
    #frame relay stuff ... see the docs for explanations
    'frInOctets' => '1.3.6.1.2.1.10.32.2.1.9',
    'frOutOctets' => '1.3.6.1.2.1.10.32.2.1.7',
    'atmInOctects' => '1.3.6.1.4.1.9.9.66.1.1.1.1.3.1.0',  
    'atmOutOctects' => '1.3.6.1.4.1.9.9.66.1.1.1.1.4.1.0',
  );

And this is part of the cfg file...

#---------------------------------------------------------------
Target[MyRouterAtm]:
atmInOctects.339&atmOutOctects.339:removed at 192.168.1.256
MaxBytes[MyRouterAtm]: 1310720
Title[MyRouterAtm]: Enlace MyRouterAtm - Nacional
PageTop[MyRouterAtm]: <H3>Analisis de Trafico ATM2/0.2 - MyRouterAtm
Nacional(1.28 Mb)
Background[MyRouterAtm]: #FFFFFF
Colours[MyRouterAtm]: GREEN#00eb0c,BLUE#0000ff,GRAY#AAAAAA,VIOLET#ff00ff 
 </H3>
 <TABLE>
   <TR><TD>System:</TD><TD>MyRouterAtm - Nacional </TD></TR>
   <TR><TD>Interface:</TD><TD>ATM2/0.2</TD></TR>
   <TR><TD>IP:</TD><TD>200.49.69.54</TD></TR>
  </TABLE>
Options[MyRouterAtm]: bits,growright
#---------------------------------------------------------------
# Enlace MyRouterAtm - Internacional 768 Kb
#---------------------------------------------------------------
Target[MyRouterAtmint]:
atmInOctects.429&atmOutOctects.429:removed at 192.168.1.256
MaxBytes[MyRouterAtmint]: 786432
Title[MyRouterAtmint]: Enlace MyRouterAtm - Internacional
PageTop[MyRouterAtmint]: <H3>Analisis de Trafico ATM2/0.1 - MyRouterAtm
Internacional (768 Kb)
Background[MyRouterAtmint]: #FFFFFF
Colours[MyRouterAtmint]: GREEN#00eb0c,BLUE#0000ff,GRAY#AAAAAA,VIOLET#ff00ff 
 </H3>
 <TABLE>
   <TR><TD>System:</TD><TD>MyRouterAtm - Internacional. </TD></TR>
   <TR><TD>Interface:</TD><TD>ATM2/0.1 pvc: 429</TD></TR>
   <TR><TD>IP:</TD><TD>200.49.69.50</TD></TR>
  </TABLE>
Options[MyRouterAtmint]: bits,growright


And this is part of the running confg or the router


!
interface ATM2/0
 no ip address
 no ip directed-broadcast
 atm pvc 1 0 5 qsaal
 atm pvc 2 0 16 ilmi
 atm ilmi-keepalive 30
!
interface ATM2/0.1 point-to-point
 description MyRouterAtm Int 
 ip address 192.168.1.256 255.255.255.252
 no ip directed-broadcast
 pvc MyRouterAtm-Intern 0/429
  oam-pvc manage
  oam retry 3 3 10
  encapsulation aal5snap
 !
!
interface ATM2/0.2 point-to-point
 description MyRouterAtm Nac 
 ip address 192.168.1.257 255.255.255.252
 no ip directed-broadcast
 pvc MyRouterAtm-Nacion 0/339
  vbr-nrt 4096 4096 100
  oam-pvc manage
  oam retry 3 3 10
  encapsulation aal5snap
 !
!


See you


LL
-----Original Message-----
From: Adenilson Raniery Sarges Pontes [mailto:raniery at rnp.br] 
Sent: Friday, February 07, 2003 10:19 AM
To: mrtg at list.ee.ethz.ch
Subject: [mrtg] Getting real throughput on ATM PVC´s



Dear all,

 I´d like to get your experiences on measuring throughput on ATM PVCs
using SNMP. Basically, we have GSR 12008 routers with IOS 12.0(21)S2, and
Quad-port OC3c ATM linecards. PVCs were configured (one for each
subinterface), with SCRs ranging from 4Mbps up to 38 Mbps.

My question is: what snmp counters (and procedures) do you use to get
*real* throughput on ATM PVCs?

According to some Cisco docs, e.g
http://www.cisco.com/en/US/tech/tk39/tk51/technologies_tech_note09186a008009
3c9a.shtml

subinterface MIB counters _ifInOctets and ifOutOctets_ do not include
(deterministic) 5-byte cell header and (variable) AAL5 padding.

Counters on CISCO-AAL5-MIB _cAal5VccInOctets and cAal5VccOutOctets_ seem
to include AAL5 padding but I´m not sure, since some statements in the doc
above sounded dubious to me :(
Also, these are 32-bits counters leading to wrap problems with higher
capacity PVCs.

We´re looking for better measurements (or at least good estimatives) of
our internal traffic on PVCs. Nowadays, we´ve been using subinterface
counters but measured traffic is (obviously) lower than real traffic
injected on telcos links.

Any help would be really appreciated.

Regards

Raniery Pontes
:::::::::::::::::::::::::
Network Operations Center (NOC)
National Research Network - Brazil
http://www.rnp.br/index_en.html

--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi

--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the mrtg mailing list