[cisco-bba] RE: [c-nsp] MRTG a L2TP VPDN Looback Interface

Code Monkey have.an.email at gmail.com
Wed Jan 18 12:58:47 EST 2006


On 12/21/05, Oliver Boehmer (oboehmer) <oboehmer at cisco.com> wrote:
>
> Getting up-to-date/exact statistics without Netflow would likely require
> to collect per-user/session stats (IFMIB or VPDN-MIB) and substract it
> from the interface counters.


I can't see any other reasonable way to do it.

As a bonus, that way he can graph each tunnel seperately:

Each L2TP tunnel gets a Virtual-Access interface. Those could be graphed,
but the number of those interfaces changes every time the tunnel goes
down/up. You sum all of those and you get the aggregate traffic.

To do it per login, use the VPDN MIB : .1.3.6.1.4.1.9.10.24.1.3.2.1

.2.x.y is the login name
.6.x.y is bytes in on interface
.8.x.y is bytes out on interface

with the (x,y) couple different for each interface. When a tunnel goes
down/up, the (x,y) will change. Put them through a simple script to get
"login,in,out", and you have your data.

If you want bits I think they're at 5 and 7 or 7 and 9, check it anyway
since I may have mixed up in/out and bits/bytes. I think other indexes can
be used to tie in with radius identifiers and such.

HTH.


More information about the cisco-nsp mailing list