[nsp] atm per vc stats (snmp)

Charles Sprickman spork at inch.com
Tue May 13 04:39:08 EDT 2003


Hi,

Some time ago a helpful person here found some OIDs for snarfing byte
counts on atm pvcs.  It worked great under the old BVI style config as all
adsl users were in one of a handful of subinterfaces on the atm card:

// quick hack to show "x" second usage on a pvc
// feed it a pvc and type of line
//
// the two OIDs we look at are:
// .1.3.6.1.4.1.9.9.66.1.1.1.1.3.<index>.<vpi>.<vci> (input octets)
// .1.3.6.1.4.1.9.9.66.1.1.1.1.4.<index>.<vpi>.<vci> (output octets)

However, I just moved everyone to RBE, so every customer has a different
value for <index> above.

Other than the obvious brute force method of snmpwalking the interface
until I find the vpi/vci value I want, is there an easy way to grab the
index number if I know the interface name?  Currently I have the
subinterface number matching the pvc, ie: "atm 2/0.1440" is a customer
with a pvc of 0/1440...

Any pointers appreciated.

Thanks,

Charles

--
Charles Sprickman
spork at inch.com



More information about the cisco-nsp mailing list