Follow these steps to clear spanning tree counters on all interfaces or on the specified interface.
device# clear spanning-tree counter
device# clear spanning-tree counter interface ethernet 0/3
device# clear spanning-tree counter interface port-channel 12