This section describes the command for clearing statistics of a traffic policy.
Context
Once deleted, statistics cannot be restored. Therefore, use caution when deleting statistics.
Procedure
To clear the statistics of a traffic policy on an interface, run the reset trafficpolicy[ [ name ] policy-name ] statisticsinterface { interface-name | interface-typeinterface-number } [ vlanvlan-id | pe-vidpe-vidce-vidce-vid | vidvid | ce-vidce-vid | vidvidce-vidce-vid ] { inbound | outbound } command in the user view.
To clear the statistics of a traffic policy on an bridge-domain, run the reset traffic policy statisticsbridge-domainbdid { inbound | outbound } command in the user view.
To clear statistics about an AC-side traffic policy applied to a VPN instance, run the reset traffic policy [ namepolicy-name ] statistics { vsivsi-instance-name [ ac-mode ] | vpn-instancevpn-instance-name } [ slotslot-id ] { inbound | outbound } command.
To clear flow CAR entries on a specific board or the device, run the reset flow-car [ { source-ip | destination-ip } ip-address ] slotslot-id or reset flow-carall command.
To clear flow CAR statistics about specific-direction traffic in a specific slot based on the source or destination IP address, run the reset flow-car statistics { source-ip | destination-ip } [ ip-address ]slotslot-id { inbound | outbound } command.
Run the reset user-queue statisticsinterface { interface-name | interface-typeinterface-number } { pe-vid pe-vidce-vid ce-vid | vlan vlan-id } { inbound | outbound } [ policy policy-name ] classifier classifier-name or reset user-queue statisticsbridge-domain bd-id { inbound | outbound } [ policy policy-name ] classifier classifier-name command to clear user queue statistics on a specified interface.