[Flow-tools] ip accounting

Martin Randl mrandl at coprosys.cz
Mon Mar 23 16:20:22 EDT 2009


Hi all, 
 I want to create simple network accounting with flow-tools.
We have BGP router with netflow enabled. Flow-capture create files with
netflow data correctly...

I have a list of our custommers with their IP adresses/subnets.
I want to get a summary of trafic for each of our custommer.
I want to find fastest method to calculate summaries of data...

For example
# List with ipadresses/subnets.
prefixlist_c1
 permit 10.20.30.0/24
 permit 10.20.50.0/24
prefixlist_c2
 permit 10.20.100.0/25

# Report should be...
head: custommer, traffic in, traffic out.
custommer1, 278123412312343bits, 12341234234235bits
custommer2, 23412341241234bits, 1234141234455bits

Sorry for my english :)
Martin




More information about the Flow-tools mailing list