On Wednesday 09 July 2003 08:09, Gleb Smirnoff wrote:Or maybe you should consider using ifInOctets...
On Wed, Jul 09, 2003 at 01:18:06PM +0800, Eugene Grosbein wrote: E> Does FreeBSD 4.8-STABLE keep per-interface summary for received E> unicast octets? More precisely, I need to know number of unicast E> octets received by my router via ep0 from uplink. Its ethernet interface E> carries lots of broadcast (NETBIOS) traffic I need not care of.
glebius@:~:>snmpwalk -Os -c XXX -v 1 localhost ifInUcastPkts.1 ifInUcastPkts.1 = Counter32: 6062056
/usr/ports/net/net-snmp installed
This gives you packets, not octets...
There is no such thing in SNMP I think, so some ipfw hackery might be what he wants...
Regards,
Milan
Pete
_______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "[EMAIL PROTECTED]"