nanog mailing list archives

Re: MAE-East-ATM stats


From: Jeff Aitken <jaitken () aitken com>
Date: Wed, 28 Jun 2000 17:29:47 -0400 (EDT)


Alex writes:
How do others determine usage of the individual PVCs to other
peers?

Assuming you're using MRTG, if you have a new enough IOS you can poll
the VC stats directly with SNMP.  Try something like this:

Target[vc111]: VccInOctets.xx.yy.zz&VccOutOctets.xx.yy.zz:public@router

Where:  xx == snmp ifindex
        yy == vpi
        zz == vci

E.g., given the following:

  router> sh atm vc 111
  ATM5/0: VCD: 111, VPI: 1, VCI: 11
  
  % snmpwalk -v 1 router public
  ...
  interfaces.ifTable.ifEntry.ifDescr.32 = "ATM5/0-atm layer"
  interfaces.ifTable.ifEntry.ifDescr.33 = "ATM5/0.0-atm subif"
  interfaces.ifTable.ifEntry.ifDescr.34 = "ATM5/0-aal5 layer"
  interfaces.ifTable.ifEntry.ifDescr.35 = "ATM5/0.0-aal5 layer"
  ...
  
The target string should look like this:

Target[vc111]: VccInOctets.35.1.11&VccOutOctets.35.1.11:public@router


Older versions (I don't know when this support finally appeared)
required you to write a script and manually pull the necessary info
out of 'sh atm vc' output (dumping it in a file for MRTG to read).


--Jeff




Current thread: