On the 4100 you can use the 'clear statistics all' command.
On the 4000M under Port Counters, you can 'Reset' the counters on a port.
These commands only reset the counters for that particular session. The underlying SNMP counters are never reset until you power cycle or reboot.