I do not know of a way to make the switch send out a trap based on a threshold alarm on interfaces stats. With that being said your snmp trap receiver should also be able to pull stats and you should be able to set up custom warnings based on thresholds crossed.