getting counters for a plenty of vlan ifaces

Mike Tancsa mike at sentex.net
Sun Sep 16 22:00:29 UTC 2012


On 9/16/2012 10:41 AM, Ivan Alexandrovich wrote:
> Hi
> 
> We are running freebsd9.0 on a router with
> more than 1000 of subscriber's vlan interfaces.
> Outgoing packet rate is approximately 40 kpps.
> 
> There's a need to collect bytes and packets
> counters for all those vlan interfaces every
> minute (or even twice a minute) and store them

Hi,
	We approach it a little differently and collect all the data via
netflow, or in this case argus.  I sample the parent interface and save
all the flow data which argus is smart enough to parse out at the vlan
level.  You can then run all sorts of fine grained reports this way.  We
use it on a system with about 900 ng interfaces.

	---Mike


-- 
-------------------
Mike Tancsa, tel +1 519 651 3400
Sentex Communications, mike at sentex.net
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada   http://www.tancsa.com/


More information about the freebsd-net mailing list