stoke
Honorary Master
I am starting this thread because I want to research what it will take to record local and international throughput using Cisco routers. The aim is to make dead sure we're not missing something that would make our ISP's lives a lot easier by enabling them to bill us for local and international usage separately.
Basic information required:
This originating IP Address sent/received x bytes from/to that final IP Address.
Now, from what I have researched so far, it seems there are 2 ways to do this:
Monitor a copy of all the traffic going through each switch [SPAN]:
Source: http://www.cisco.com/warp/public/473/41.html#support
Hardware: A whole bunch of catalyst series switches. List is in the URL above.
This involves wasting one port on each switch, that port gets a copy of all traffic passing through the switch via the SPAN command, you then install a computer onto that one port that analyzes all the traffic moving through the switch and record the information that you need to record.
Conclusion:
This method can/will slow down a very busy switch and the cost of adding a machine to monitor and record the traffic is unwanted. And .. exactly how many switches are we talking about here? Are they right next to each other, so that one machine can record all the traffic by having one network card per switch? [need ISP response]
Use the router's IP Accounting Facilities [ip accounting]:
Source: http://www.cisco.com/en/US/docs/ios/11_1/feature/guide/macacct.html
More: http://www.informit.com/articles/article.aspx?p=764234&rl=1
Table of Options: http://www.informit.com/articles/article.aspx?p=764234&seqNum=5
Scripts to gather Recorded info: http://www.net-sense.com/faqs.htm
Hardware: The second url says all except for Cisco 12000, and there is a problem with Catalyst 6500/7600.
This involves configuring the routers to record bytes sent and received, and then retrieving the records from the routers. This would seem to be the logical approach to performing what needs to be done.
Problem is that there is a maximum size to the information that can be stored on each router (512), and, you have to get the information off the router before it gets truncated by the router, and then process it somewhere. The articles talk about 512 entries in the recording tables, where at the ISP we need like 500 000 entries in the recording tables.
I am also not sure what IP Address and Mac Address is available here, is it the previous router's Mac/IP address, or is it the original source and final destination's Mac/IP address?
Conclusion:
In short, this solution is only available for switches near the client (us), where the data traveling through the switch is for a select number of users.
Others:
I'll edit and add other ideas here.
EEEK, I am drowning, but not trying tastes kind of bland. 
Basic information required:
This originating IP Address sent/received x bytes from/to that final IP Address.
Now, from what I have researched so far, it seems there are 2 ways to do this:
Monitor a copy of all the traffic going through each switch [SPAN]:
Source: http://www.cisco.com/warp/public/473/41.html#support
Hardware: A whole bunch of catalyst series switches. List is in the URL above.
This involves wasting one port on each switch, that port gets a copy of all traffic passing through the switch via the SPAN command, you then install a computer onto that one port that analyzes all the traffic moving through the switch and record the information that you need to record.
Conclusion:
This method can/will slow down a very busy switch and the cost of adding a machine to monitor and record the traffic is unwanted. And .. exactly how many switches are we talking about here? Are they right next to each other, so that one machine can record all the traffic by having one network card per switch? [need ISP response]
Use the router's IP Accounting Facilities [ip accounting]:
Source: http://www.cisco.com/en/US/docs/ios/11_1/feature/guide/macacct.html
More: http://www.informit.com/articles/article.aspx?p=764234&rl=1
Table of Options: http://www.informit.com/articles/article.aspx?p=764234&seqNum=5
Scripts to gather Recorded info: http://www.net-sense.com/faqs.htm
Hardware: The second url says all except for Cisco 12000, and there is a problem with Catalyst 6500/7600.
This involves configuring the routers to record bytes sent and received, and then retrieving the records from the routers. This would seem to be the logical approach to performing what needs to be done.
Problem is that there is a maximum size to the information that can be stored on each router (512), and, you have to get the information off the router before it gets truncated by the router, and then process it somewhere. The articles talk about 512 entries in the recording tables, where at the ISP we need like 500 000 entries in the recording tables.
I am also not sure what IP Address and Mac Address is available here, is it the previous router's Mac/IP address, or is it the original source and final destination's Mac/IP address?
Conclusion:
In short, this solution is only available for switches near the client (us), where the data traveling through the switch is for a select number of users.
Others:
I'll edit and add other ideas here.
Last edited: