[c-nsp] NetFlow for billing on 6500/SUP720-3B
Alexander Clouter
alex at digriz.org.uk
Thu Apr 7 03:49:56 EDT 2011
TCIS List Acct <listacct at tulsaconnect.com> wrote:
>
> We have traditionally used mirror ports in a L2 switch attached to a
> FreeBSD box with NICs in promisc. mode to do our traffic accounting
> (monitoring the traffic to/from the edge and ignoring local traffic).
> However, with the new 6509 platform, we are hoping to use NetFlow v9
> instead and get rid of the sniffer box. Our hope is that we can
> monitor each customer port (which is configured as a L3/routed port)
> and export only the flows to/from the edge to our collector, and then
> use that data for billing purposes.
>
You will have to configure a seperate instance for each user, but if you
have DFC3B's (3A's have borked counters apparently, well ours do) you
can configure a NOOPing PBR route-map on each customer. Have a common
ACL for all your 'local' traffic and a catchall route-map rule for
everything else.
The script up something to SSH in (might be possible via SNMP), 'show
route-map' and yank out the packet/byte counters.
Profit!
Have fun.
--
Alexander Clouter
.sigmonster says: Happiness is a hard disk.
More information about the cisco-nsp
mailing list