Mini-RMON Manager allows you to configure the device (usually switches) to collect and store layer 2 packet statistics for ethernet ports. You can also look at some historical layer 2 data, and configure events and alarms to monitor arbitrary MIB objects for threshold violations.